|
Re: can not run Eclipse on a library machine [message #161060 is a reply to message #161037] |
Fri, 14 July 2006 20:09 |
Randy D. Smith Messages: 394 Registered: July 2009 |
Senior Member |
|
|
Michael wrote:
> hi, I am using a public machine in library to edit JAVA code. I have
> Eclipse on my U-disk. However once I click on Eclipe.exe, error messege
> "Java 2 Runtime not found". Even though I have JDK 5.0 on my U-disk too,
> and there are javaw.exe in the public machine's c:\windows\system32\
> directory. I dont understand why it didn't work. How can I make it work?
> Thanks.
>
Is C:\windows\system32 on the PATH? Can you Start=>Run... cmd.exe and
run java -version? What does it say? I wouldn't be surprised if, being a
library system, it wasn't pre-Java 2!
Eclipse takes a -vm argument to specify the JVM to use; if you're used
to using the GUI to navigate to your U: drive, you're going to have to
edit the properties for the Eclipse icon to specify the VM. Otherwise,
you can go through the command line interface (the Start=>Run... cmd.exe
approach, or Start=>All Programs=>Accessories=>Command Prompt) and type
in the path to the eclipse with the -vm argument.
--
RDS
Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
|
|
|
|
Powered by
FUDForum. Page generated in 0.08043 seconds