PDA

View Full Version : Getting started with Java



CaptainMark
January 17th, 2011, 02:42 PM
Ive had some basic lessons with python and c but i want to also learn java so i can eventually develop andriod apps. I have a book but but it assumes for the installation process your using windows, im a bit confused, if i can run java apps on the internet no problem can i assume i already have a JRE installed, also is JDK similar to the gcc compiler for C programming, i searched the softwae centre for JDK and it pointed to VisualJM, do i need to install this??

Thanks for helping a noobie out.
Mark

PaulM1985
January 17th, 2011, 03:01 PM
I think you want:

sudo apt-get install build-essential

This will install the JDK for you.

Good luck

Paul

CaptainMark
January 17th, 2011, 03:08 PM
Thanks i done this but it didnt seem to install the bit i needed, still in synaptic i installed openjdk-6-jdk and now .java files compile to .class files fine, thanks

shadylookin
January 17th, 2011, 08:31 PM
If you're really learning it for android development then you should consider just going straight to learning android. While the languages are similar there's enough differences in how things actually work that I think it would be better to just start with android development.