Page 1 of 1

DM Java with Java Platform 1.5.0

Posted: Wed Dec 29, 2004 1:17 pm
by Phantomlord
Hello to all, :)

I have a small trouble, I have reinstalled Windows in my computer and I have installed the lastest version of Java for allows end-users to run Java applications called Java Platform 1.5.0.

When I try to install DM Java, I have a windows that tell me that DM Java could not find Java 1.4 and Install will abort. :(

It is necessary to désinstall this version of Java for reinstalling the old version instead or it is possible to launch DM java with Java 1.5.0 ?

Many thanks for your help and sorry if my english is not perfect I'm french.

Phantom

Posted: Wed Dec 29, 2004 5:12 pm
by beowuuf
yes, i think DMJava has been flaky with the newer environments....i forget the last one that was definitely stable...

Posted: Thu Dec 30, 2004 2:58 am
by Relig
I'm not so sure if it matters or not. The install stops at the end, but you can point the main program to your current version of java like this:

"C:\Program Files\Java\jre1.5.0\bin\javaw.exe" -cp . dmnew

and for the editor:

"C:\Program Files\Java\jre1.5.0\bin\javaw.exe" -cp . DMEditor

So create a new shortcut, with this path for each, and have the working directory:

"C:\Program Files\Dungeon Master Java" or whatever you have saved it to.

Works fine for me. (don't miss the period after the -cp)

Relig

Posted: Thu Dec 30, 2004 8:13 pm
by Guest
Many thanks for your help, but How I can create this shorcut with this command. I have a DM java folder (C:\Program Files\Dungeon Master Java) and Java installed (C:\Program Files\Java\jre1.5.0_01\bin).

Where I do this shorcut with the command for the game and editor ?
I have a file called "dmnew.class", I must create a shorcut with this one ???

Posted: Thu Dec 30, 2004 8:16 pm
by Phantomlord
Sorry it is me in the precedent message. I don't know why I don't be logged with my pseudo.

Phantom

Posted: Fri Dec 31, 2004 12:02 am
by cowsmanaut
do you know about shortcuts? you make a shortcut for the file.. right click and click new/shortcut. The right click the shortcut and go to properties.. in there you can input these commands.. then when you click the shortcuts.. it will load it for you

Posted: Sat Jan 01, 2005 9:09 am
by Phantomlord
Yes I know how to make shortcuts and see propertie of this.

I make shortuct to "dmnew.class" for game and "DMeditor.class" for editor ? I do it but Windows tell me that the shorcut is not correct when I try to modify the properties... :cry:

Posted: Tue Jan 04, 2005 8:34 pm
by beowuuf
you need to make the shortcut to javaw, then make it implement dmnew/DMEditor

"C:\Program Files\JavaSoft\JRE\1.3.0_02\bin\javaw.exe" dmnew - JAVA path in command
c:\Games\Ftl\DMJava1.05\DMJava1.04 - DMJ location in path (so it was activiate the .classes)