Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse but not SE (or Spellchecker) up to Date
icon5.gif  Eclipse but not SE (or Spellchecker) up to Date [message #1358545] Fri, 16 May 2014 01:29 Go to next message
David Schonfeld is currently offline David SchonfeldFriend
Messages: 2
Registered: May 2014
Junior Member
Lately, I downloaded a new version of Eclipse Kepler (Kepler Service Release 2). Before I had done so, I had the old version of Eclipse (Eclipse Helios) on my computer. After installing Eclipse Kepler, I realized that when I used Eclipse Kepler, Eclipse would not recognize certain Java code that is accepted as code now, but wasn't in the past.
For example, my Eclipse will not let me do the following:
private JList<Phrase> list_1; //Phrase is a different class I already created.
After searching on the internet, I theorized that while my Eclipse IDE is up to date, perhaps my Java SE (which I'm not certain what that is) is not up to date.
Would updating my Java SE be the solution to my problem? If so, how do I do that?
Thank you for the help!
Re: Eclipse but not SE (or Spellchecker) up to Date [message #1362173 is a reply to message #1358545] Sat, 17 May 2014 14:23 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 05/16/2014 12:02 AM, David Schonfeld wrote:
> Lately, I downloaded a new version of Eclipse Kepler (Kepler Service
> Release 2). Before I had done so, I had the old version of Eclipse
> (Eclipse Helios) on my computer. After installing Eclipse Kepler, I
> realized that when I used Eclipse Kepler, Eclipse would not recognize
> certain Java code that is accepted as code now, but wasn't in the past.
> For example, my Eclipse will not let me do the following:
> private JList<Phrase> list_1; //Phrase is a different class I
> already created.
> After searching on the internet, I theorized that while my Eclipse IDE
> is up to date, perhaps my Java SE (which I'm not certain what that is)
> is not up to date. Would updating my Java SE be the solution to my
> problem? If so, how do I do that?
> Thank you for the help!

The example you give doesn't back up your assertion that "Eclipse would
not recognize certain Java code" and that the solution is "updating my
Java SE".

In the example, likely something has changed in your environment and you
no longer have access to class Phrase.

In the second case, it's not a bad idea always to be about as up-to-date
as you can on Java. You do this by downloading the most recent JDK
(java.sun.com, Downloads, Popular Downloads, Java for Developers),
dropping it somewhere (I never much with installing it because I do not
want the Java my machine is counting on being the unknown I count on
during development) and wiring it up to my Eclipse workspace (Window ->
Preferences -> Java -> Installed JREs.

I hope this helps as I'm not sure I grok'd your question. Please push
back with more information if not.

Cheers
Re: Eclipse but not SE (or Spellchecker) up to Date [message #1362528 is a reply to message #1362173] Sat, 17 May 2014 18:05 Go to previous messageGo to next message
David Schonfeld is currently offline David SchonfeldFriend
Messages: 2
Registered: May 2014
Junior Member
First of all, thanks for getting back to me. While not having access to the class "Phrase" is a good idea, this code worked when my partner used the same code on her computer (we used repositories to synchronize our code). The computer stated that JLists are not generic and thus cannot be parameterized, which does not make sense, because this works on other computers.
That's a good idea to update my Java. I just download the new JDK, but didn't realize/know how to hook it up with Eclipse.
After going to Window -> Preferences -> Java -> Installed JREs, how do you hook up the new JDK download with Eclipse?
Thanks for your help!
Re: Eclipse but not SE (or Spellchecker) up to Date [message #1368075 is a reply to message #1362528] Tue, 20 May 2014 02:16 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 05/17/2014 12:05 PM, David Schonfeld wrote:
> First of all, thanks for getting back to me. While not having access to
> the class "Phrase" is a good idea, this code worked when my partner used
> the same code on her computer (we used repositories to synchronize our
> code). The computer stated that JLists are not generic and thus cannot
> be parameterized, which does not make sense, because this works on other
> computers.
> That's a good idea to update my Java. I just download the new JDK, but
> didn't realize/know how to hook it up with Eclipse.
> After going to Window -> Preferences -> Java -> Installed JREs, how do
> you hook up the new JDK download with Eclipse?
> Thanks for your help!

Click Add.
Choose Standard VM.
For JRE Home, click Directory.
Navigate to the parent directory of your new download (which you should
have unzipped, exploded, etc.).
Select it (don't double-click, just select it).
Click OK.
Previous Topic:How turn off hiding of file extensions in editor tabs?
Next Topic:ECU files - Damos
Goto Forum:
  


Current Time: Thu Apr 25 23:14:46 GMT 2024

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

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

Back to the top