473,394 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

New to Java - What to download

23
I'm starting to learn Java (after I learned C++), however, as the different tutorials are telling me, I should download the JDK + an IDE (eg. Eclipse). Could someone tell me what these different components really do: JDK, JRE and IDE (I think an IDE is analogous to a compiler right?) Thank you
Feb 9 '08 #1
1 1087
JosAH
11,448 Expert 8TB
I'm starting to learn Java (after I learned C++), however, as the different tutorials are telling me, I should download the JDK + an IDE (eg. Eclipse). Could someone tell me what these different components really do: JDK, JRE and IDE (I think an IDE is analogous to a compiler right?) Thank you
The core of it all is the JVM (Java Virtual Machine); it can translate compiled
Java files to machine code and runs it. Note that we're not talking about source
code here. The JVM alone isn't of much use. You need the JRE for that (Java
Runtime Environment) which is the JVM plus a whole lot of compiled Java code.

That compiled code makes up the JSE (Java Standard Edition). If you want to
compile your own source code you need the JDK (Java Development Kit) which
comes with Javac (the Java compiler and other tools) and the JRE (which comes
with the JVM). You can download Java 1.6 JDK here:

http://java.sun.com/javase/sitemap.jsp

Look for the link 'latest release' in the 'Downloads' paragraph. After you have downloaded
the JSE JDK and installed it you have the JVM and JRE and of course the JDK
installed. You're ready to compile and run your programs.

An IDE isn't strictly necessary and not recommended. Better get your hands dirty
by using your favourite editor, compile the sources with Javac (a compiler tool
that comes with the JDK) and run the compiled code using java or javaw (two
tools that fire up the JVM using the core classes).

You can download the documentation (the 'JavaDocs') and all tutorials from here:

http://www.thescripts.com/forum/thread741373.html

kind regards,

Jos
Feb 9 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: PC | last post by:
It's obvious, that Windows XP has a Java 2 VM (including the SWING-module), because we can all run Java 2 applets in Internet Explorer. But what about the support for Java 2 Applications? I...
1
by: TheGuild42 | last post by:
I don't know how to compile a '.java' file on WinXP Home Servicepack 2 I don't have Microsoft's JVM. Can someone help.
8
by: John Bailo | last post by:
What is /automatic/ garbage collection, and how do I know that it is really efficient? If I use mono, I can look at the code. But if I use Java and .NET -- I have no idea. A brilliant...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
16
by: coosa | last post by:
Dear all, I'm familiar with the Set Class in C++ and Java; however, i have been searching in C# for a similar container as in c++ or collection as in java, but couldn't find one. Could some one...
4
by: aotemp | last post by:
Does anyone know how to detect the version of Java installed? My website has an application that requires java 1.5+ to be installed, basically if the user doesn;t already have it installed I...
5
by: patrick | last post by:
Ive got an idea that Im going to develop into an application. this will be a GUI type application which will be given away freely to users to install on their PCs. The application interacts with...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.