Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Installed with Error : Build path specifies execution env J2SE-1.4(Installation Error Build Path Specifies J2SE-1.4)
Installed with Error : Build path specifies execution env J2SE-1.4 [message #1708973] Wed, 23 September 2015 05:02 Go to next message
Arthur Chan is currently offline Arthur ChanFriend
Messages: 44
Registered: September 2015
Member
I have Java 8 (build 1.8.0-60) installed on Windows 7 Prof sp1 laptop
.
I have just downloaded Eclipse Java EE IDE for Web Developers, Mars release 4.5.0
When Eclipse starts up, it throws this error:
Build path specifies execution environment J2SE-1.4. There are no JREs installed in the workspace that are strictly compatible with this environment.

Version incompatibility?
Need to install a JRE version for Eclipse?
If so, which version?
I modified the workspace directory to point to my personal JAVA directory, is that the problem?
Re: Installed with Error : Build path specifies execution env J2SE-1.4 [message #1709048 is a reply to message #1708973] Wed, 23 September 2015 14:33 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 09/23/2015 05:31 AM, Arthur Chan wrote:
> I have Java 8 (build 1.8.0-60) installed on Windows 7 Prof sp1 laptop

Is there a question in here?
Re: Installed with Error : Build path specifies execution env J2SE-1.4 [message #1709058 is a reply to message #1709048] Wed, 23 September 2015 15:42 Go to previous messageGo to next message
Arthur Chan is currently offline Arthur ChanFriend
Messages: 44
Registered: September 2015
Member
No, it's not a question.
I am providing info of my dev-envmt to help debug the error Eclipse threw on startup.
I don't recall specifying J2SE 1.4 in the build path.

Do I need a JRE version in Eclipe's \workspace ?

Thx.



[Updated on: Wed, 23 September 2015 15:45]

Report message to a moderator

Re: Installed with Error : Build path specifies execution env J2SE-1.4 [message #1709061 is a reply to message #1709058] Wed, 23 September 2015 15:46 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
It's just a warning. Google it, you'll see what it means and how to resolve it.
Re: Installed with Error : Build path specifies execution env J2SE-1.4 [message #1709070 is a reply to message #1709061] Wed, 23 September 2015 17:54 Go to previous messageGo to next message
Arthur Chan is currently offline Arthur ChanFriend
Messages: 44
Registered: September 2015
Member
Eclipse sees it as an error, not a warning.

Not quite understanding what Eclipse wants.

After download and install, I right clicked on org.eclipse.ui.examples.javaeditor and set these properties:
Properties -> Java Compiler -> Enable project specific settings
-> JDK Compliance level=1.4
-> .class file compatibilty = 1.4
-> source compatibilty = 1.4
-> rebuild

Errors (1 item) : The JRE container on the classpath is not a perfect match to the 'J2SE-1.4'

Tried several of the suggestions from Google ...

What is a maven project?

[Updated on: Wed, 23 September 2015 17:57]

Report message to a moderator

Re: Installed with Error : Build path specifies execution env J2SE-1.4 [message #1709143 is a reply to message #1709070] Thu, 24 September 2015 12:59 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4442
Registered: July 2009
Senior Member

Arthur Chan wrote on Wed, 23 September 2015 13:54

Errors (1 item) : The JRE container on the classpath is not a perfect match to the 'J2SE-1.4'


Which JRE is on the project's Java Build Path?


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Installed with Error : Build path specifies execution env J2SE-1.4 [message #1709153 is a reply to message #1709143] Thu, 24 September 2015 13:28 Go to previous messageGo to next message
Arthur Chan is currently offline Arthur ChanFriend
Messages: 44
Registered: September 2015
Member
Build
c:\ javac -version -> 1.7.0_40

Runtime Env
c:\ java -version -> 1.8.0_60 ( installed this latest update last week )

Is there a tutorial for Eclipse?
Re: Installed with Error : Build path specifies execution env J2SE-1.4 [message #1709157 is a reply to message #1709153] Thu, 24 September 2015 13:38 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 09/24/2015 07:28 AM, Arthur Chan wrote:
> Build c:\ javac -version -> 1.7.0_40
>
> Runtime Env c:\ java -version -> 1.8.0_60 ( installed this latest
> update last week )
>
> Is there a tutorial for Eclipse?

The best ones I've seen, beside those Eclipse offers itself, are at
http://www.vogella.de.
Re: Installed with Error : Build path specifies execution env J2SE-1.4 [message #1709203 is a reply to message #1709157] Thu, 24 September 2015 20:47 Go to previous messageGo to next message
Arthur Chan is currently offline Arthur ChanFriend
Messages: 44
Registered: September 2015
Member
@Bateman Thx.

Re: Installed with Error : Build path specifies execution env J2SE-1.4 [message #1709205 is a reply to message #1709203] Thu, 24 September 2015 21:21 Go to previous messageGo to next message
Arthur Chan is currently offline Arthur ChanFriend
Messages: 44
Registered: September 2015
Member



Dear Moderator

I think we can close this thread now, my eclipse is up and running.

For newbies like me, on the top ribbon, click HELP -> Welcome, there's trove of info there to help get me started and suddenly, eclipse doesn't look so daunting anymore.
Re: Installed with Error : Build path specifies execution env J2SE-1.4 [message #1710906 is a reply to message #1709157] Sat, 10 October 2015 18:49 Go to previous message
Arthur Chan is currently offline Arthur ChanFriend
Messages: 44
Registered: September 2015
Member
Eclipse is cool, very cool. Cool
Comes with Ant to build and package

Previous Topic:total noob- stuck on 'no schema for extentions' in tutorial 3
Next Topic:Override Eclipse Command
Goto Forum:
  


Current Time: Thu May 09 16:31:31 GMT 2024

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

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

Back to the top