Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » can not run Eclipse on a library machine
can not run Eclipse on a library machine [message #161037] Fri, 14 July 2006 19:01 Go to next message
MichaelChen is currently offline MichaelChenFriend
Messages: 7
Registered: July 2009
Junior Member
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.
Re: can not run Eclipse on a library machine [message #161060 is a reply to message #161037] Fri, 14 July 2006 20:09 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
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)
Re: can not run Eclipse on a library machine [message #161074 is a reply to message #161060] Fri, 14 July 2006 20:29 Go to previous message
MichaelChen is currently offline MichaelChenFriend
Messages: 7
Registered: July 2009
Junior Member
Thanks Randy D. Smith for prompt answer. In one word, it works. All I need
to do is to create a short cut to the eclipse.exe, and specify in the
property of this shortcut the "-vm" option to my own JDK copy on my
U-disk. thanks again.
Previous Topic:AspectJ
Next Topic:Finding File from RCP
Goto Forum:
  


Current Time: Sat Apr 27 03:37:04 GMT 2024

Powered by FUDForum. Page generated in 0.08043 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top