i am trying to setup java in my Ubuntu LUcid linux .
I checked my machine whether i am having JAva already installed in my machine.
when i tried for java -version
it showed me
aruna@aruna-desktop:/usr/bin$ java -version
java version “1.6.0_18”
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-4ubuntu3)
OpenJDK Server VM (build 16.0-b13, mixed mode)
how can i start my java coding ..
Where can i save my java files..
EDIT
I tried an example as you said but while running it is showing me the error as
aruna@aruna-desktop:~/Desktop/java$ javac MyFirstJavaProg.java
The program ‘javac’ can be found in the following packages:
* openjdk-6-jdk
* ecj
* gcj-4.4-jdk
* gcj-4.3
Try: sudo apt-get install
The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications. They include hundreds of complete, working examples, and dozens of lessons