I found in youtube some tutorials of how to make a game in unity, now that i finished the tutorial (and obviously the game) i want to learn how to write java so i can write anything i want when i need it, so can you tell me some good tutorials of java? and sorry for the bad english.
This could have been answer with a google search and has been answered in this post http://answers.unity3d.com/questions/20307/where-can-you-find-a-in-depth-tutorial-for-learnin.html I thought I would answer to point out that java and javascript are not the same thing. Unity uses javascript, or more accurately it uses unityscript which is unity's version of javascript.
As scrawk said, Java and JavaScript are two different languages. If you really mean that you want to write in JavaScript, then willemsenzo provided a nice website for you. However, If you really mean you want to learn how to write Java itself, so you can write regular programs outside of Unity, try this http://docs.oracle.com/javase/tutorial/java/index.html ^^ this is a good place to start learning the basics of Java. Again, Java and JavaScript itself are two different things, and with this approach you will essentially have to learn two different languages and frequently switch between them. If you DO want to write programs outside of Unity using the same language that you can also use inside of Unity, I suggest moving over to C#. Its syntax is incredibly similar to Java, and the language is identical across Unity and other IDE's like Visual Studio. Tl;Dr If you want to learn more JavaScript: http://www.walkerboystudio.com/html/...___free__.html If you want to learn Java in addition to JavaScript: http://docs.oracle.com/javase/tutorial/java/index.html If you want to learn C# so you don't have to keep switching between languages: http://msdn.microsoft.com/en-us/library/aa288436(v=vs.71).aspx
Unity doesnt use Java, as explained before, it uses JavaScript (or, as stated before and is a more accurate title, UnityScript), C#, and Boo (a python derivative i think). You dont actually need to learn every single Programming language, because most of them are almost exactly the same concept wise, the only thing you have to learn is the syntax, or wording of the language. its just like if you know english, and what an apple is in english, you dont need to re-learn what an apple is in french, you know what an apple is still, you just need to know how to spell it. you dont need a knowledge of C because of reasons i just explained, and also not many programs still use C, they all use developments of C such as C# and C++, where C++ is the closest resemblance of C that i know of.