Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » JRE or JDK?(Is JDK required, whatever it is?)
JRE or JDK? [message #762756] Thu, 08 December 2011 15:28 Go to next message
Heimdall  is currently offline Heimdall Friend
Messages: 3
Registered: December 2011
Junior Member
I have read the "readme" and some of the forum and am rather confused.

Eclipse should work as long as you have a JRE. But now it looks like you sometimes need a JDK - is it so, and when?

I thought Eclipse was a JDK (after all, you use Eclipse to develop java applications), but looks like I was wrong.
Re: JRE or JDK? [message #762763 is a reply to message #762756] Thu, 08 December 2011 15:33 Go to previous messageGo to next message
Patrick is currently offline PatrickFriend
Messages: 55
Registered: July 2009
Member
Le 08/12/2011 16:28, Heimdall a écrit :
> I have read the "readme" and some of the forum and am rather confused.
>
> Eclipse should work as long as you have a JRE. But now it looks like you
> sometimes need a JDK - is it so, and when?


A JRE is enough because Eclipse has its own compiler. However if you
want to browse or debug in the Java source code, a JDK is better.
Re: JRE or JDK? [message #762764 is a reply to message #762756] Thu, 08 December 2011 15:38 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
Eclipse is an IDE that runs on a java VM. It only requires a jre. However, if you plan on developing Java applications, you probably want a JDK (Oracle supplies both. The licensing is different and they have different tool sets) A JRE just runs java applications. The JDK includes library source and a number of other tools you likely will need to develop Java applications. Having the source from the JDK available to Eclipse when you are developing a Java application makes the process much easier.
Re: JRE or JDK? [message #763170 is a reply to message #762764] Fri, 09 December 2011 09:43 Go to previous messageGo to next message
Heimdall  is currently offline Heimdall Friend
Messages: 3
Registered: December 2011
Junior Member
Thank you both for clarifying it. I guess it also means that other programs that want a JDK (like an Android development stuff) won't be satisfied with Eclipse.

I'll get JDK then...

Tom
Re: JRE or JDK? [message #935986 is a reply to message #762756] Sun, 07 October 2012 14:50 Go to previous messageGo to next message
Gayathri N is currently offline Gayathri NFriend
Messages: 1
Registered: October 2012
Junior Member
hello guys..

i need help. My OS is windows x32 bit and has jre 6. i downloaded eclipse juno. when i launch it. i get the following error.

---------------------------
Eclipse
---------------------------
Java was started but returned exit code=13
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=C:\Users\Gayathri\Desktop\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os win32
-ws win32
-arch x86
-showsplash C:\Users\Gayathri\Desktop\eclipse\\plugins\org.eclipse.platform_4.2.0.v201206081400\splash.bmp
-launcher C:\Users\Gayathri\Desktop\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\Users\Gayathri\Desktop\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813\eclipse_1503.dll
-startup C:\Users\Gayathri\Desktop\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-vm C:\Program Files\Java\jre6\bin\client\jvm.dll
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=C:\Users\Gayathri\Desktop\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
---------------------------
OK
---------------------------


can anyone plz help me?????
Re: JRE or JDK? [message #936405 is a reply to message #935986] Mon, 08 October 2012 01:24 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 10/07/2012 08:50 AM, Gayathri N wrote:
> hello guys..
> i need help. My OS is windows x32 bit and has jre 6. i downloaded
> eclipse juno. when i launch it. i get the following error.
>
> [snip]
> -vm C:\Program Files\Java\jre6\bin\client\jvm.dll

http://wiki.eclipse.org/Eclipse.ini nowhere says to give a path to jvm.dll.
Re: JRE or JDK? [message #941490 is a reply to message #935986] Fri, 12 October 2012 15:22 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You -vm <path> need to be on separate lines:

-vm
<path/to/jvm>


PW


Previous Topic:Can't run /usr/bin/ command in Eclipse java application?
Next Topic:observing values of variables during debugging
Goto Forum:
  


Current Time: Fri Mar 29 14:44:38 GMT 2024

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

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

Back to the top