Re: Completely New to Java
Java runs off of a vm so what it compiles to its java byte code. This byte code is then read by a non-native program and turned into a file only read by java. AKA a .jar file. If you want to make exe files then java really isn't for you. You should do .NET then since .NET makes a special kind of exe that is managed.
Re: Completely New to Java
Java's syntax is based off of C/C++'s, so it shouldn't be too hard for you to pick up.
The best way to write Java is with an IDE (Eclipse and NetBeans are the two best ones, depending on what you intend to do), and you can export Java programs as .jar files. Basically, these are similar to .exe files except the are platform independent (.exe is a Windows thing, so won't work on macs or linux).
Personally, I like Eclipse over Netbeans because it runs much smoother and has many useful easy to use features, however NetBeans has a powerful GUI designer, which plain Eclipse doesn't have (there are plugins that allow you to design GUI's in Eclipse, though).
Here's the link for eclipse's website:
Eclipse
Pick any download of Eclipse that allows you to develop Java, and/or JavaEE.
You'll also need the Java JDK in addition to the JRE to run either IDE. Go for this one: Java Standard Edition. There are many different versions of Java (ME for mobiles, EE for server/business solutions), but SE should fit almost all general uses. Note: If you want to do JavaEE development, you'll need the JavaEE JDK :)
Here are some tutorials from Sun (the "developer" of Java):
Getting started
Learning the Java Language
Trail: Essential Classes
Also, no Java developer could do without the API docs:
Java API Docs
Re: Completely New to Java
Don't worry about the switch it will be easy. I did it myself, although I still know C and C++. One thing you will notice is that Java IDEs have auto complete and inteligence that guess what you are after and show a list of options. Also Java is so well documented you can find everything easily. Where as C and C++ this can be a pain in the arse. lets be honest if developing using Win32, Microsofts information is pretty sucky!
Best of luck,
Chris
Re: Completely New to Java
I'm in a similar position - some experience with C# and Flash, but new to Java.
I found this video useful for getting the JDK up and running.
(Same guy has also done a number of other vids which helped me get my head around basic syntax.)
Good Luck.
Re: Completely New to Java
guys what should i download to get that API? jdk sourcecode? or jdk documentation? i just want to save those files
just in case if i dont have internet connection i can still read that API...
Re: Completely New to Java
Re: Completely New to Java
thanx... I'll try ur suggestions...