Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Pointing eclipse to use a particular JVM
Pointing eclipse to use a particular JVM [message #180921] Mon, 20 November 2006 06:04 Go to next message
Eclipse UserFriend
Originally posted by: sri1025.gmail.com

Hi,

I am running eclipse on Ubuntu Linux and by default it seems to be picking
up the default JRE which is GCJ or something like that...

I want to point eclipse to use Sun's JRE which is at '/java' on my
computer. So I changed the eclipse.ini file and added this line as the
first line to it:

-vm /java

But this doesn't seem to work and eclipse still runs on the GCJ JRE and
not the Sun JRE on '/java'

Is there any other modifications that I need to do?

Thank you,
Srikanth
Re: Pointing eclipse to use a particular JVM [message #180929 is a reply to message #180921] Mon, 20 November 2006 06:13 Go to previous messageGo to next message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
Srikanth wrote:
> I want to point eclipse to use Sun's JRE which is at '/java' on my
> computer. So I changed the eclipse.ini file and added this line as the
> first line to it:
>
> -vm /java
>
> But this doesn't seem to work and eclipse still runs on the GCJ JRE and
> not the Sun JRE on '/java'
>
> Is there any other modifications that I need to do?
Since you said the Sun JRE is _at_ '/java', I presume that means '/java'
is the name of the folder of where you extracted the downloaded .bin
file? '-vm' needs to point to the actual 'java' binary file. I think the
path is something like /java/jre/bin/java or maybe /java/bin/java?
Update your eclipse.ini file and try again.

Regards,
Rem
Re: Pointing eclipse to use a particular JVM [message #180937 is a reply to message #180929] Mon, 20 November 2006 07:14 Go to previous message
Eclipse UserFriend
Originally posted by: sri1025.gmail.com

Remy Suen wrote:

> Since you said the Sun JRE is _at_ '/java', I presume that means '/java'
> is the name of the folder of where you extracted the downloaded .bin
> file? '-vm' needs to point to the actual 'java' binary file. I think the
> path is something like /java/jre/bin/java or maybe /java/bin/java?
> Update your eclipse.ini file and try again.

> Regards,
> Rem

Thank you Rem, that did it!
Previous Topic:JFace/SWT
Next Topic:BPEL downloads???
Goto Forum:
  


Current Time: Fri Apr 26 07:26:40 GMT 2024

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

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

Back to the top