DM Java with Java Platform 1.5.0

This is a forum for the DM clone DM Java created by Alandale. Note it also has it's own set of forums at ezboard (link stickied)

Moderator: alandale

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Phantomlord
Apprentice
Posts: 36
Joined: Fri Mar 12, 2004 11:36 pm
Location: Paris

DM Java with Java Platform 1.5.0

Post 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
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

yes, i think DMJava has been flaky with the newer environments....i forget the last one that was definitely stable...
User avatar
Relig
Craftsman
Posts: 125
Joined: Tue Jan 20, 2004 12:32 am
Location: Canada

Post 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
Guest

Post 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 ???
User avatar
Phantomlord
Apprentice
Posts: 36
Joined: Fri Mar 12, 2004 11:36 pm
Location: Paris

Post by Phantomlord »

Sorry it is me in the precedent message. I don't know why I don't be logged with my pseudo.

Phantom
User avatar
cowsmanaut
Moo Master
Posts: 4380
Joined: Fri Jun 30, 2000 12:53 am
Location: canada

Post 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
User avatar
Phantomlord
Apprentice
Posts: 36
Joined: Fri Mar 12, 2004 11:36 pm
Location: Paris

Post 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:
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post 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)
Post Reply