Active Topics : Memberlist : Search : Help : Register : Login
Help Dundjinni! Rate This Website at RPG Gateway
Topic: A work-around for multiple JRE woes
|

|
| Author |
|
charvolant Henchman


Joined: 09/03/2007 Location: Australia Posts: 3
|
| Posted: 12/15/2007 at 3:59pm | IP Logged
|
|
|
I pretty much have to have JDK 1.6 installed on my machine, which makes Dundjinni a bit of a trial at the moment. I've been experimenting with using a batch file to start the right JRE, if there are multiple versions installed, and the following seems to work:
1. Install jre 1.5.0_04
2. Search through the registry for HKEY_LOCAL_MACHINE\SOFTWARE\Fluid\Dundjinni and find the "RegisteredTo" and "AppKey" fields
3. Create a batch file, dundjinni.bat in C:\Program Files\Fluid\Dundjinni with the following contents:
@echo off
set app=C:\Program Files\Fluid\Dundjinni
set jre=C:\Program Files\Java\jre1.5.0_04
set PATH="%jre%\bin;%PATH%"
"%jre%\bin\java" -Xms512m -Xmx768m -jar "%app%\dundjinni.version.1.0.6" "%app%" 1 "RegisteredTo" "AppKey"
Where you need to substitute the correct values from the registry for RegisteredTo and AppKey. You may also need to fiddle with the app and jre variables. You may also want to fiddle with the -Xms and -Xmx values.
4. Save it and double-click on dundjinni.bat
This seems to work for me.
Doug
|
| Back to Top |
|
| |
Kepli Djinni (Admin)


Joined: 01/04/2005 Location: Netherlands Posts: 16809
|
| Posted: 12/16/2007 at 2:37am | IP Logged
|
|
|
A way to switch Java versions seems like a good solution until the patch is ready for release. This is only needed for those of us who need Java 1.6 or higher though.
Thanks charvolant
__________________ You can never have enough vines - Vines are good - Vines help you - Vines are cool ...
|
| Back to Top |
|
| |
starallon Henchman


Joined: 01/22/2008 Location: United States Posts: 9
|
| Posted: 01/29/2008 at 11:13am | IP Logged
|
|
|
Just want to say this seems to have fixed my Java problems right here.
A note to those creating the batch file though, make sure you do not have spaces at the end of directory listings as it'll give you an error if you have them. Doing a direct copy and past from this post here does leave the spaces on.. Delete them and it works just fine. :)
Thank you for supplying this!
~Allon
|
| Back to Top |
|
| |
mercutio Legend


Joined: 04/03/2006 Location: United States Posts: 760
|
| Posted: 01/31/2008 at 7:10pm | IP Logged
|
|
|
This works for all art that isn't in DJX format for me. For some reason, the native art packs don't show me their art. I searched through and tried the fixes mentioned, but they didn't help. Thankfully there's enough user art (all of it in PNG) to allow me to make maps again, but I'm still anxiously awaiting the patch.
|
| Back to Top |
|
| |
GreyGuardian Hireling

Joined: 03/29/2007 Location: United States Posts: 3
|
| Posted: 02/03/2008 at 8:23pm | IP Logged
|
|
|
mercutio wrote:
| This works for all art that isn't in DJX format for me. For some reason, the native art packs don't show me their art. I searched through and tried the fixes mentioned, but they didn't help. Thankfully there's enough user art (all of it in PNG) to allow me to make maps again, but I'm still anxiously awaiting the patch. |
|
|
I just tried this as well... and had the exact same experience. The displaced cursor is fixed... can't see the djx format art though...
Can anyone help with that? The patch coming soon may not be soon enough as I finally have time to re-start the game I was running and I'm ready to make some maps.
|
| Back to Top |
|
| |
|
|
If you wish to post a reply to this topic you must first login
If you are not already registered you must first register
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum
|
Powered by Web Wiz Forums version 7.6Copyright ©2001-2003 Web Wiz Guide
This page was generated in 4.4690 seconds.