Hello. I'm 15 and I would like to learn how to use and write .java/.class files I want to learn this for multiple reasons. I find it fun to be able to write a program I want to make my own plugins I want to be able to write software like bukkit/minecraft I learn pretty fast and I can remember a lot of things. I know few things about java You need a class or else the program will not run or work. You need a main class. So far...this is all I learned from 3 youtube videos: class experiment{ public static void main (String arg[]){ double oreos; oreos = 3.7; System.out.print("this number "); System.out.print( oreos); System.out.println(" is close to"); System.out.print("3.14"); } } That's all I really know. It would be greate if you guys have videos or you could PM lessons. I know this is posted but that seemed like people disagreed with one another. One person suggested bucky as good then 2 other people came along and said the book was better so I didn't know what to do. I tried to find tutorials put none of them seemed like they were a total beginners tutorial. And I'm not going to be a $35 dollar book. I need to save my money.
What you can help you with learning java is to browse open source projects written in java. You can also use some IDE(e.g. Eclipse) to help you with writing code. If you don't know what to write, simply press CTRL+Space and IDE pop-ups you some choices you can use. It's really helpful. Good luck with learning .
Well, it's not like there would be a tutorial which teaches you how to code a plugin in a week. You need to understand java, minecraft and bukkit. like tomsik said, reading existing projects helps a lot. you could decompile minecraft with MCP for example and try to understand the code. and you cant really learn a programming language from youtube videos. thats like learning a foreign language from road sign
If you are really interested in starting to write java and learn how to use java. You have to start basic. You cant just jump into creating plugins with no knowledge of how java works. Java is a language within itself and not knowing how to use it is like trying to go to war without a gun. It doesnt work. I recommend a great visual video tutorial series from a great guy on Youtube. The video doesnt necessarily show you how to create plugins but it shows you what java is and how to use it. You can check him out on youtube by the name Thenewboston. Check his Website out Here: http://www.thenewboston.com/
http://forums.bukkit.org/threads/learn-to-make-plugins-and-learn-java.29442/ There you go Learn Java/Learn to make Plugins