The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
I am wanting to learn Java, and i was wondering where i can get a compiler from. I have looked all over the web for the 'Java Developement Kit' but cease to find it, even on the 'java.Sun.com' website which is poorly layed out!! If you could point me in the direction for this i will be greatful.
Also is it a hard programming language to learn? If it uses Formulas i should be alright.
Thankyou
James
> Or (which is what I do now) grab a development GUI to do all the
> leg-work for you... (there are commercial GUI e.g. JBuilder, or there
> are a few free ones which you can grab from the Sun site)
Doesn't NetBeans add some crap to your code before compiling?
You could also use batch files to compile files together.
> It's put itself into a j2sdk folder.. but no launch program in it
> anywhere.
Look in there for a folder called JDK or something like that.
> Well got that Java SDK but how the feck do you use it?! :|
The SDK primarily just contains the command line compiler...
You could write your code in Edit, save it as a .java file and comile it in an open MS-DOS window (which is what I had to do when I was in college back in the old century)...
Or (which is what I do now) grab a development GUI to do all the leg-work for you... (there are commercial GUI e.g. JBuilder, or there are a few free ones which you can grab from the Sun site)
class Test
{
public static void main (String[]args)
{
system.out.println("Gah");
}
}
into a text file, save it as Test.java and type javac -classpath . Test.java into the command line...
Compile it using javac
Run it using java, provided the previous step didn't show any errors
> Well got that Java SDK but how the feck do you use it?! :|
I downloaded an old version of the JDK.
Never really looked into Java, mind.