Link to home
Start Free TrialLog in
Avatar of ErrolEvan
ErrolEvan

asked on

Need JDK with Windows XP

I'm trying to run a Java program (Poseidon) under Windows XP (SP1 -- not SP1a as far as I can tell). I have msjava.dll in my system directory and many java classes elsewhere on my drive -- but I don't have java.exe or the equivalent.

What do I need to do to be able to run the program?

I don't want to remove the java-related files and start again with Sun's implementation of Java. I just want to tweak the MS Java implementation.

 
Avatar of Mick Barry
Mick Barry
Flag of Australia image

what are the requirements for Poseidon?
Avatar of ErrolEvan
ErrolEvan

ASKER

Apparently I need a JDK. Is this available for Win XP without removing the MS Java implementation and replacing it with Sun's?
If you need a JDK then use Sun's.
The Sun VM does not replace the MS one, it is just like installing a seperate application.
Here's a link. As objects said, installing the Sun JDK will not overwrite the existing JDK. A new folder will be created in a place of your choosing and it will contain the JDK. You should be able to run class files from the command line (from the class directory: "java ClassName"). If you're running a JAR file, you'll need to update the system variable PATH to include the path to the "bin" directory of the JDK.

Link to download: http://java.sun.com/j2se/1.5.0/download.jsp
Use a stable version (1.5 now is an RC version).
Go here:
http://java.sun.com/j2se/1.4.2/download.html
Yes 1.4.2_05 is the latest stable version.
I just got a mail from SUN that they fixed several bugs in both 1.5RC and 1.4.2_05
;JOOP!
Microsoft currently provide a JVM (i.e. Java runtime) on some versions of Windows , but not a compiler (provided with the JDK).  If you want to compile apps, then you need to download a JDK  from Sun.

OK, useful comments from several of you. We're nearly there.

Do I understand you correctly?

1) I have a JVM already installed -- from MS -- jview.exe in my system folder. This enables me to run __compiled__ java applications.

How then would I run the app? Would it be an executable EXE file for the Windows environment? If not, what?

2) However, MS does not supply a JDK with WinXp. If I want to compile the Java files I need to download the SDK from Sun.


Thanks for your help.

ASKER CERTIFIED SOLUTION
Avatar of CI-Ia0s
CI-Ia0s

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you mean the Poseidon from Gentleware then you NEED the JDK 1.4 or higher as listed in the FAQs. I'd get it ASAP. ;)
Thanks to everyone who helped enlighten me.

I intended to award some points to object as well, but I hit the "accept" button before I did that and then found that the item was closed. object, please accept 75 "moral" ponts.