Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Trouble Setting up Eclipse with Java 1.7 [RESOLVED](Trouble Setting up Eclipse with Java 1.7 [RESOLVED])
Trouble Setting up Eclipse with Java 1.7 [RESOLVED] [message #1075555] Mon, 29 July 2013 16:24 Go to next message
Jim Anderson is currently offline Jim AndersonFriend
Messages: 109
Registered: October 2014
Senior Member
I'm running Crunchbang linux and the disk where my home directory is located got full. I moved a lot of software from my home directory to another directory, including some Eclipse software. Bottom line, Eclipse is not running for me now.

I installed the latest version of Eclipse, Kepler, and I'm trying to getting it running. I have created a new workspace. I have a java 7 environment on my system and when I bring up Eclipse and I look at the properties of a new project that I have created, I get the message:

JRE System Library [JavaSE-1.7] (unbound)

It looks to me that I have to somehow tie the java 7 code into the Eclipse environment. My java code is in /usr/share/java7/jre1.7.0_07.

Can anyone tell me how to connect java7 into Eclipse?

Thank you.

Jim Anderson

[Updated on: Tue, 30 July 2013 01:36] by Moderator

Report message to a moderator

Re: Trouble Setting up Eclipse with Java 1.7 [message #1075634 is a reply to message #1075555] Mon, 29 July 2013 19:41 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Why not search the help? Top result of search for "JRE" is:
http://help.eclipse.org/topic/org.eclipse.jdt.doc.user/tasks/tasks-JREs.htm?cp=1_3_5
Re: Trouble Setting up Eclipse with Java 1.7 [message #1075665 is a reply to message #1075634] Mon, 29 July 2013 20:51 Go to previous messageGo to next message
Jim Anderson is currently offline Jim AndersonFriend
Messages: 109
Registered: October 2014
Senior Member

Thanks for the pointer. I took a look at the documentation you provided. It looks like adding a jre should be straight forward except the help page gives and example that requires a home and a name for the JRE and then adding which libraries to the definition.

But the JRE pop-up page in the Kepler version of Eclipse has a form looking for a JRE definition file and a name for the JRE. I'm not sure what a definition file is so I'm stuck at this point.

Jim
Re: Trouble Setting up Eclipse with Java 1.7 [message #1075688 is a reply to message #1075665] Mon, 29 July 2013 21:55 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Looks like you selected "Execution Environment Description" instead of "Standard VM"?
Re: Trouble Setting up Eclipse with Java 1.7 [RESOLVED] [message #1075747 is a reply to message #1075688] Tue, 30 July 2013 01:34 Go to previous message
Jim Anderson is currently offline Jim AndersonFriend
Messages: 109
Registered: October 2014
Senior Member
Yes, that was my problem --> wrong selection. When I tried adding 'Standard VM', it was straight forward. Thank you for you help Stephan. Everything is running fine now.

Jim

[Updated on: Tue, 30 July 2013 01:35] by Moderator

Report message to a moderator

Previous Topic: Eclipse Formatter
Next Topic:Groovy Eclipse - New / unexpected error message with Kepler
Goto Forum:
  


Current Time: Fri Apr 19 02:23:37 GMT 2024

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

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

Back to the top