Sign in to follow this  
mrwaffles829

Learning Java: Where to start?

Recommended Posts

I was wondering if anyone had some good resources for learning java and some tips on the best order in which to learn the concepts of java.

I have some coding experience (Interactive C and minor C++ basics) but know nothing about java (syntax wise. I understand the pros and cons of the language and JIT compiler)

My goal is to eventually use LWJGL for some hobbyist game development but for some reason I'm having a hard time finding up to date java resources on the web.

Share this post


Link to post
Share on other sites
I guess you could start with some simple tutorials just to get a feel for the syntax, even though it is similar to c++.
This is a good website to get your started:
[url="http://www.freejavaguide.com/corejava.htm"]http://www.freejavaguide.com/corejava.htm[/url]

If you haven't already, download netbeans. I don't know any others but netbeans is okay, can be annoying if you're use to visual studio though.

Share this post


Link to post
Share on other sites
[quote name='Daniel_RT' timestamp='1318077556' post='4870473']
I guess you could start with some simple tutorials just to get a feel for the syntax, even though it is similar to c++.
This is a good website to get your started:
[url="http://www.freejavaguide.com/corejava.htm"]http://www.freejavag...om/corejava.htm[/url]

If you haven't already, download netbeans. I don't know any others but netbeans is okay, can be annoying if you're use to visual studio though.
[/quote]

Thank you very much :)

Share this post


Link to post
Share on other sites
I might get flamed for this, but the way me and my friend both learned Java was by making mods for Minecraft and Bukkit.

It really helped us and when we didn't understand something, Google was our friend or we could just look at the source code/javadoc.

I found that modding really helped me learn Java and I know consider myself quite proficient in it. The rest I learned from the Oracle website.

Share this post


Link to post
Share on other sites
What I have found useful with Java (since its sytnax is so much like c++) when you need a specific topic (ie I/O , containers..) just google that topic for java.. That is how I have done it and it has worked out quite well.

With the netbeans suggestion out there I would also suggest Eclipse as your IDE (it is very nice, especially if you plan to move to android development)... Also if you ever get to to 3D development , Unity3D (game engine) lets you use java as scripting language for development, as well as UDK (another engine) which uses a form of Java for its scripting.

Also make sure you understand the java pass by value/pass by refrence argument... It can trip a lot of people up.[url="http://javadude.com/articles/passbyvalue.htm"]This is a good read on the topic[/url]


Edit: Both Unity and UDK are free and perfect for hobbyist. I cant speak for UDK but Unity is also powerful enough to go farther with it if you ever decide to.

Share this post


Link to post
Share on other sites
The following link is REALLY useful because it uses real-world examples to explain everything. The code is also well explained and documented when presented to you.



Since its from the developers of the language, its usually up to date with the current version of java.
[url="http://download.oracle.com/javase/tutorial/java/"]http://download.oracle.com/javase/tutorial/java/[/url]

Hope that helps! PM me with any issues you may have with your early-on projects and I can help to an extent. With difficult errors, always feel free to post on GameDev.net where everyone is really friendly and willing to help.

Cheers!

Share this post


Link to post
Share on other sites
[quote][color=#1C2837][size=2] Unity3D (game engine) lets you use java as scripting language for development[/size][/color][/quote]


Just to clarify: Unity uses javascript, and not java. Just so there is no confusion if you decide to use unity at some point :)

Share this post


Link to post
Share on other sites
[quote name='Oluf' timestamp='1318320703' post='4871374']
[quote][color="#1C2837"][size="2"] Unity3D (game engine) lets you use java as scripting language for development[/size][/color][/quote]


Just to clarify: Unity uses javascript, and not java. Just so there is no confusion if you decide to use unity at some point :)
[/quote]

Same with UDK. With that said, both of them use a their own form of javascript with their own tweaks. Untiy's javascript implementation has been officially dubbed UnityScript. Likewise, UDK has dubbed their javascript implementation UnrealScript.

Share this post


Link to post
Share on other sites
[quote name='jonbonazza' timestamp='1318355240' post='4871512']
[quote name='Oluf' timestamp='1318320703' post='4871374']
[quote][color="#1C2837"][size="2"] Unity3D (game engine) lets you use java as scripting language for development[/size][/color][/quote]


Just to clarify: Unity uses javascript, and not java. Just so there is no confusion if you decide to use unity at some point :)
[/quote]

Same with UDK. With that said, both of them use a their own form of javascript with their own tweaks. Untiy's javascript implementation has been officially dubbed UnityScript. Likewise, UDK has dubbed their javascript implementation UnrealScript.
[/quote]

You are right. I am sorry for the mis-information, and thank you for correcting my mistake. I still do recommend both tools though.

Share this post


Link to post
Share on other sites
[quote name='RanBlade' timestamp='1318356042' post='4871516']
[quote name='jonbonazza' timestamp='1318355240' post='4871512']
[quote name='Oluf' timestamp='1318320703' post='4871374']
[quote][color="#1C2837"][size="2"] Unity3D (game engine) lets you use java as scripting language for development[/size][/color][/quote]


Just to clarify: Unity uses javascript, and not java. Just so there is no confusion if you decide to use unity at some point :)
[/quote]

Same with UDK. With that said, both of them use a their own form of javascript with their own tweaks. Untiy's javascript implementation has been officially dubbed UnityScript. Likewise, UDK has dubbed their javascript implementation UnrealScript.
[/quote]

You are right. I am sorry for the mis-information, and thank you for correcting my mistake. I still do recommend both tools though.


[/quote]

Don't take it the wrong way. I wasn't trying to correct you. Just adding to the discussion. :P

Share this post


Link to post
Share on other sites
[quote name='jonbonazza' timestamp='1318356159' post='4871517']
[quote name='RanBlade' timestamp='1318356042' post='4871516']
[quote name='jonbonazza' timestamp='1318355240' post='4871512']
[quote name='Oluf' timestamp='1318320703' post='4871374']
[quote][color="#1C2837"][size="2"] Unity3D (game engine) lets you use java as scripting language for development[/size][/color][/quote]


Just to clarify: Unity uses javascript, and not java. Just so there is no confusion if you decide to use unity at some point :)
[/quote]

Same with UDK. With that said, both of them use a their own form of javascript with their own tweaks. Untiy's javascript implementation has been officially dubbed UnityScript. Likewise, UDK has dubbed their javascript implementation UnrealScript.
[/quote]

You are right. I am sorry for the mis-information, and thank you for correcting my mistake. I still do recommend both tools though.


[/quote]

Don't take it the wrong way. I wasn't trying to correct you. Just adding to the discussion. :P
[/quote]

I am not taking it the wrong way :) but you were right and I wanted to acknowlege that so the OP was clear that everyone agree's on the actual fact. I appreciate the fact I was corrected and not left contributing to confusing the OP

Share this post


Link to post
Share on other sites
[quote name='Daniel_RT' timestamp='1318077556' post='4870473']
I guess you could start with some simple tutorials just to get a feel for the syntax, even though it is similar to c++.
This is a good website to get your started:
[url="http://www.freejavaguide.com/corejava.htm"]http://www.freejavag...om/corejava.htm[/url]

If you haven't already, download netbeans. I don't know any others but netbeans is okay, can be annoying if you're use to visual studio though.
[/quote]

Thanks, this looks fairly well for the beginners.

Share this post


Link to post
Share on other sites
My Java advice with library, book, link and tool suggestions is [url="http://www.gamefromscratch.com/post/2011/08/04/I-want-to-be-a-game-developer.aspx#Java"]right here.[/url] Hopefully it proves helpful.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this