Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Can't convince Eclipse to build with DEFAULT JRE
Can't convince Eclipse to build with DEFAULT JRE [message #90335] Thu, 28 August 2003 11:55 Go to next message
Eclipse UserFriend
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 #90438 is a reply to message #90335] Thu, 28 August 2003 13:56 Go to previous message
Eclipse UserFriend
You need to set property of the project to use.

Go to project -> properties -> java build path -> libraries

click add library.
select JRE System library and press next.
choose an alternate JRE.

Rohit

"Pat Lynch" <plynch@supergenius.org> wrote in message
news:bil8kn$gta$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?
>
>
>
Previous Topic:compiling
Next Topic:2.1.0 -> 2.1.1 upgrade error
Goto Forum:
  


Current Time: Tue Jul 22 06:37:58 EDT 2025

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

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

Back to the top