Can't convince Eclipse to build with non-default JRE [message #90170] |
Thu, 28 August 2003 13:56 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: plynch.supergenius.org
A story of two systems:
System 1
Laptop. Has two JREs installed -- 1.4.2 and 1.3.1_08.
Eclipse is configured with both JREs and 1.3.1_08 is marked default.
Project is on a shared drive and is rebuilt.
Project can be run with 1.3.1_08 JVM.
System 2
Desktop. Has two JREs installed -- 1.4.1_03 and 1.3.1_08.
Eclipse is configured with both JREs and 1.3.1_08 is marked default.
Same project from shared drive is loaded and rebuilt.
Project CANNOT be run with 1.3.1_08 JVM because class files have
incorrect major/minor numbers (meaning Project was really
built using 1.4.1_03 JRE).
How can I convince Eclipse on the Desktop system to build
the project with 1.3.1_08 JRE so that the class files will
be able to run in a 1.3.1_08 JVM?
|
|
|
|
Re: Can't convince Eclipse to build with default JRE [message #90275 is a reply to message #90229] |
Thu, 28 August 2003 15:10 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: plynch.supergenius.org
Doh! You're correct! Subject should be default vs non-default.
The settings in the project are correct (i.e. the 1.3.1 JRE). I would
expect this because both systems load the project from the same (shared)
folders and this setting is stored internally within the project.
What stumps me is that one system is working the way it should, the
other isn't and I can't find anything configured differently between
the two (other than 1.4.2 vs. 1.4.1_03).
Darin Swanson wrote:
> Shouldn't the subject be can't convince Eclipse to build with the default
> JRE?
> In your description you state that 1.3.1_08 is always the default and is the
> JRE you wish to build against?
> Try:
> Context menu on the project, Properties>Java Build Path>Libraries
> Ensure the JRE_LIB is what you want. If not set the correct library on the
> build path
> HTH
> Darins
> "Pat Lynch" <plynch@supergenius.org> wrote in message
> news:bil1mv$8cr$1@eclipse.org...
> > A story of two systems:
> >
> > System 1
> >
> > Laptop. Has two JREs installed -- 1.4.2 and 1.3.1_08.
> >
> > Eclipse is configured with both JREs and 1.3.1_08 is marked default.
> >
> > Project is on a shared drive and is rebuilt.
> >
> > Project can be run with 1.3.1_08 JVM.
> >
> > System 2
> >
> > Desktop. Has two JREs installed -- 1.4.1_03 and 1.3.1_08.
> >
> > Eclipse is configured with both JREs and 1.3.1_08 is marked default.
> >
> > Same project from shared drive is loaded and rebuilt.
> >
> > Project CANNOT be run with 1.3.1_08 JVM because class files have
> > incorrect major/minor numbers (meaning Project was really
> > built using 1.4.1_03 JRE).
> >
> > How can I convince Eclipse on the Desktop system to build
> > the project with 1.3.1_08 JRE so that the class files will
> > be able to run in a 1.3.1_08 JVM?
> >
> >
|
|
|
|
Re: Can't convince Eclipse to build with default JRE [message #92152 is a reply to message #90379] |
Thu, 04 September 2003 12:31 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: plynch.supergenius.org
Strangely enough it was set to 1.3 compliance but was still
producing 1.4 class files. I used the "restore defaults"
options to reset it to 1.3 and it is now producing 1.3
compliant class files.
Thanks a bunch Jerome!
Jerome Lanneluc wrote:
> Libraries used to compile against and compliance mode are 2 different
> things.
> Check Window->Preferences->Compiler->Compliance and Classfiles. I suspect
> that it is set to a 1.4 compliance level.
>
> Jerome
>
> "Pat Lynch" <plynch@supergenius.org> wrote in message
> news:bil608$dld$1@eclipse.org...
>
>>Doh! You're correct! Subject should be default vs non-default.
>>
>>The settings in the project are correct (i.e. the 1.3.1 JRE). I would
>>expect this because both systems load the project from the same (shared)
>>folders and this setting is stored internally within the project.
>>
>>What stumps me is that one system is working the way it should, the
>>other isn't and I can't find anything configured differently between
>>the two (other than 1.4.2 vs. 1.4.1_03).
>>
>>
>>
>>Darin Swanson wrote:
>>
>>
>>>Shouldn't the subject be can't convince Eclipse to build with the
>
> default
>
>>>JRE?
>>>In your description you state that 1.3.1_08 is always the default and is
>
> the
>
>>>JRE you wish to build against?
>>
>>>Try:
>>>Context menu on the project, Properties>Java Build Path>Libraries
>>>Ensure the JRE_LIB is what you want. If not set the correct library on
>
> the
>
>>>build path
>>
>>>HTH
>>>Darins
>>
>>>"Pat Lynch" <plynch@supergenius.org> wrote in message
>>>news:bil1mv$8cr$1@eclipse.org...
>>>
>>>>A story of two systems:
>>>>
>>>>System 1
>>>>
>>>> Laptop. Has two JREs installed -- 1.4.2 and 1.3.1_08.
>>>>
>>>> Eclipse is configured with both JREs and 1.3.1_08 is marked default.
>>>>
>>>> Project is on a shared drive and is rebuilt.
>>>>
>>>> Project can be run with 1.3.1_08 JVM.
>>>>
>>>>System 2
>>>>
>>>> Desktop. Has two JREs installed -- 1.4.1_03 and 1.3.1_08.
>>>>
>>>> Eclipse is configured with both JREs and 1.3.1_08 is marked default.
>>>>
>>>> Same project from shared drive is loaded and rebuilt.
>>>>
>>>> Project CANNOT be run with 1.3.1_08 JVM because class files have
>>>> incorrect major/minor numbers (meaning Project was really
>>>> built using 1.4.1_03 JRE).
>>>>
>>>>How can I convince Eclipse on the Desktop system to build
>>>>the project with 1.3.1_08 JRE so that the class files will
>>>>be able to run in a 1.3.1_08 JVM?
>>>>
>>>>
>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02547 seconds