|
|
Re: Disappearing JRE [message #156793 is a reply to message #156742] |
Fri, 30 April 2004 15:09 |
Eclipse User |
|
|
|
Originally posted by: eclipse.rizzoweb.com
Robert Talent wrote:
> Here is more information on my query.
> When I delete the Junit project and make it again, the Package Explorer
> tree has the message 'Could not resolve class path entry.'
>
> The class path file has the contents
> <classpath>
> <classpathentry kind="src" path=""/>
> <classpathentry kind="con"
> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
> <classpathentry kind="output" path=""/>
> </classpath>
>
> What is this JRE_CONTAINER? is this malfunctioning or did the config
> somehow break? I can't find documentation on this.
Containers are collections of libs, basically. The JRE_CONTAINER is the
one that contains all the standard JRE libraries, including things like
java.lang.Object.
It was not clear from your previous post if you have tried or been able
to add a new JRE to your Eclipse configuration. (Preferences > Java >
Installed JREs > Add button). You should be able to browse to the JRE
home directory and when you select it Eclipse should fill in the JRE
Libraries box automatically.
Is this what you've tried? If so, what exactly were the results?
HTH,
Eric
--
> Robert Talent wrote:
>
>> hi all
>> I'm a newbie. I'm on Eclipse 2.1.1 (SUSE 9.0 operating system).
>>
>> I have been playing with eclipse all day, doing various tutorials etc.
>> Now I am going through the JUnit tutorial and something is busted.
>>
>> Earlier today Windows - Preferences - Installed JRE's found 4 JRE's.
>> Now it finds none, and my builds fail because there is no
>> java.lang.Object. No matter what search path I give it for the JRE,
>> no JRE. But I can compile and run outside of Eclipse fine.
>>
>> For example if I give the search query
>> the result of $JRE_HOME which is /usr/lib/java/jre
>> it doesn't find it.
>>
>> If I give the search query
>>
>> /usr/lib/SunJava2-1.4.2 or /usr/lib/SunJava2-1.4.2/jre
>> /usr/lib/SunJava2-1.4.2/lib
>>
>> etc, nothing works.
>>
>> Do I need to re-install? what gives?
>>
>> thanks!! rt.
>>
>
For Sale: parachute, used once, never opened, small stain.
|
|
|
Re: Disappearing JRE [message #157238 is a reply to message #156793] |
Tue, 04 May 2004 20:37 |
mminka Mising name Messages: 8 Registered: July 2009 |
Junior Member |
|
|
hi & thanks for your replies, I found this as a bug in my version and
updated and it went away.
rt
Eric Rizzo wrote:
> Robert Talent wrote:
>
>> Here is more information on my query.
>> When I delete the Junit project and make it again, the Package
>> Explorer tree has the message 'Could not resolve class path entry.'
>>
>> The class path file has the contents
>> <classpath>
>> <classpathentry kind="src" path=""/>
>> <classpathentry kind="con"
>> path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>> <classpathentry kind="output" path=""/>
>> </classpath>
>>
>> What is this JRE_CONTAINER? is this malfunctioning or did the config
>> somehow break? I can't find documentation on this.
>
>
> Containers are collections of libs, basically. The JRE_CONTAINER is the
> one that contains all the standard JRE libraries, including things like
> java.lang.Object.
>
> It was not clear from your previous post if you have tried or been able
> to add a new JRE to your Eclipse configuration. (Preferences > Java >
> Installed JREs > Add button). You should be able to browse to the JRE
> home directory and when you select it Eclipse should fill in the JRE
> Libraries box automatically.
> Is this what you've tried? If so, what exactly were the results?
>
> HTH,
> Eric
> --
>
>
>> Robert Talent wrote:
>>
>>> hi all
>>> I'm a newbie. I'm on Eclipse 2.1.1 (SUSE 9.0 operating system).
>>>
>>> I have been playing with eclipse all day, doing various tutorials
>>> etc. Now I am going through the JUnit tutorial and something is busted.
>>>
>>> Earlier today Windows - Preferences - Installed JRE's found 4 JRE's.
>>> Now it finds none, and my builds fail because there is no
>>> java.lang.Object. No matter what search path I give it for the JRE,
>>> no JRE. But I can compile and run outside of Eclipse fine.
>>>
>>> For example if I give the search query
>>> the result of $JRE_HOME which is /usr/lib/java/jre
>>> it doesn't find it.
>>>
>>> If I give the search query
>>>
>>> /usr/lib/SunJava2-1.4.2 or /usr/lib/SunJava2-1.4.2/jre
>>> /usr/lib/SunJava2-1.4.2/lib
>>>
>>> etc, nothing works.
>>>
>>> Do I need to re-install? what gives?
>>>
>>> thanks!! rt.
>>>
>>
> For Sale: parachute, used once, never opened, small stain.
|
|
|
Powered by
FUDForum. Page generated in 0.03980 seconds