Hi, i am looking to start Java programming, i currently program in Delphi and a little in C, could anyone recommend how to start?
i don't even know what to download, where can i download the software? and where can i get good tutorials?
Thanks in advance :)How could i start Java Programming?
here is the download link
http://java.sun.com/javase/downloads/ind鈥?/a>
there is also documentation at
http://java.sun.com/javase/reference/ind鈥?/a>How could i start Java Programming?
The current version of Java is called Java SE Development Kit (JDK) 6.0 and can be downloaded from
http://java.sun.com/javase/downloads/index.jsp.
Important Note
In order for Java to compile and run programs from any directory you should set the PATH variable. This directs the compiler where to find the java executables.
These should be in the bin folder inside the Java folder. The full path should be something like: C:\Program Files\Java\jdk1.6.0_%26lt;version%26gt;\bin
To set the PATH variable permanently you need to find the Environment Variables in Windows. This is usually done using Control Panel 鈥?System. Add the path to the right end of the ';Path'; in the User Variables. A typical value for PATH is:
C:\Program Files\Java\jdk1.6.0_%26lt;version%26gt;\bin
Capitalization doesn't matter. Click ';Set';, ';OK'; or ';Apply';.
The PATH can be a series of directories separated by semi-colons (;). Microsoft Windows looks for programs in the PATH directories in order, from left to right.
You should only have one bin directory for a Java SDK in the path at a time (those following the first are ignored), so if one is already present, you can update it to
jdk1.6.0_%26lt;version%26gt;\bin.
If you still cannot get a program to compile and run you may also need to set the CLASSPATH variable.
Other Information
When using Java you can create text files in NotePad or use an IDE. Eclipse a popular open-source IDE available at http://www.eclipse.org/downloads, or JCreator LE, a good simple free IDE which you can download from http://www.jcreator.com/
You can browse or download documentation: http://java.sun.com/javase/6/docs/
Particularly useful is the Java API: http://java.sun.com/javase/6/docs/api/index.html
For best JAVA Programming Tutorials, you can check here
Subscribe to:
Post Comments (Atom)
cplusplus sample programs
ReplyDeletec++ sample code String operation