JRE 5.0 [message #132309] |
Fri, 27 January 2006 02:25 |
Eclipse User |
|
|
|
Originally posted by: jtrink.gmail.com
Hello, I just installed Eclipse 3.1 and installed a java platform. Now,
i'm trying to write things using ArrayLists and Scanners. I continually
get the error that the ArrayList in eclipse doesn't have the java platform
updated to 5.0. I know for a fact that i updated to 5.0...does anyone
have any ideas????
|
|
|
Re: JRE 5.0 [message #132322 is a reply to message #132309] |
Fri, 27 January 2006 03:25 |
Eclipse User |
|
|
|
Originally posted by: weconsul.ptd.net
Jared Trinkaus wrote:
> Hello, I just installed Eclipse 3.1 and installed a java platform. Now,
> i'm trying to write things using ArrayLists and Scanners. I continually
> get the error that the ArrayList in eclipse doesn't have the java
> platform updated to 5.0. I know for a fact that i updated to 5.0...does
> anyone have any ideas????
>
You can set the compiler compliance level for all projects under the
java preferences or at the project level.
At the project level:
- select the project
- right click and select properties.
- select java compiler.
- Here you can set compiler compliance level
- set it to 5.0
You should then be ok..
--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
____________________________________________________________ ______________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
|
|
|
Re: JRE 5.0 [message #132360 is a reply to message #132322] |
Fri, 27 January 2006 04:03 |
Eclipse User |
|
|
|
Originally posted by: jtrink.gmail.com
Well, i installed it and set it to 5.0 and it STILL won't work! i download
the Java SDK 5.0 kit at www.java.com i don't know why this doesn't work.
I'm in deep trouble if i can't get this program coded out by tomorrow...
|
|
|
Re: JRE 5.0 [message #132395 is a reply to message #132360] |
Fri, 27 January 2006 05:29 |
Eclipse User |
|
|
|
Originally posted by: weconsul.ptd.net
Jared Trinkaus wrote:
> Well, i installed it and set it to 5.0 and it STILL won't work! i
> download the Java SDK 5.0 kit at www.java.com i don't know why this
> doesn't work. I'm in deep trouble if i can't get this program coded out
> by tomorrow...
>
What is the exact message you are getting?
--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
____________________________________________________________ ______________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
|
|
|
Re: JRE 5.0 [message #132419 is a reply to message #132395] |
Fri, 27 January 2006 05:45 |
Eclipse User |
|
|
|
Originally posted by: weconsul.ptd.net
IchBin wrote:
> Jared Trinkaus wrote:
>> Well, i installed it and set it to 5.0 and it STILL won't work! i
>> download the Java SDK 5.0 kit at www.java.com i don't know why this
>> doesn't work. I'm in deep trouble if i can't get this program coded
>> out by tomorrow...
>>
> What is the exact message you are getting?
>
>
After you installed 1.5 did you let Eclipse know where you installed it.
Go to the menu:
- Select Windows -> preferences -> Java -> Installed JRE
If it's not there then
- Select Add
- Add same name to say JRE 1.5.0_6
- Select Browse to the Java JRE home directory (For me it's:
C:\Program Files\Java\jre1.5.0_06 )
- Save and your done.
- You may want to create a new project an work from there. It's the
quickest way to get going.
--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
____________________________________________________________ ______________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
|
|
|
Re: JRE 5.0 [message #132551 is a reply to message #132419] |
Fri, 27 January 2006 15:34 |
Eclipse User |
|
|
|
Originally posted by: olivier_thomann.NOca.ibm.comSPAM
IchBin a écrit :
> After you installed 1.5 did you let Eclipse know where you installed it.
>
> Go to the menu:
> - Select Windows -> preferences -> Java -> Installed JRE
>
> If it's not there then
> - Select Add
> - Add same name to say JRE 1.5.0_6
> - Select Browse to the Java JRE home directory (For me it's:
> C:\Program Files\Java\jre1.5.0_06 )
> - Save and your done.
I would highly recommend using a SDK to compile code. Using a JRE, you
might not get deprecation warnings since the JRE is purged from any
deprecated information.
A JRE is fine to execute the code.
--
Olivier
|
|
|
Re: JRE 5.0 [message #132565 is a reply to message #132551] |
Fri, 27 January 2006 16:58 |
Eclipse User |
|
|
|
Originally posted by: weconsul.ptd.net
Olivier Thomann wrote:
> IchBin a écrit :
>> After you installed 1.5 did you let Eclipse know where you installed it.
>>
>> Go to the menu:
>> - Select Windows -> preferences -> Java -> Installed JRE
>>
>> If it's not there then
>> - Select Add
>> - Add same name to say JRE 1.5.0_6
>> - Select Browse to the Java JRE home directory (For me it's:
>> C:\Program Files\Java\jre1.5.0_06 )
>> - Save and your done.
> I would highly recommend using a SDK to compile code. Using a JRE, you
> might not get deprecation warnings since the JRE is purged from any
> deprecated information.
> A JRE is fine to execute the code.
> --
> Olivier
I use the JRE and I get deprecation warnings where needed. I have not
looked into this because I did not care. Since Eclipse has their own
compiler where does Eclipse compiler end and the class file to JVM for
Sun Start?
--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
____________________________________________________________ ______________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
|
|
|
Powered by
FUDForum. Page generated in 0.09636 seconds