Minecraft Blogs / Tutorial

Java Text Tutorial 1 - Setting up your IDE

  • 242 views, 1 today
  • 2
  • 0
Cool_Man7's Avatar Cool_Man7
Level 16 : Journeyman Modder
9
Hello there! Do you not know how to code java? Well this is the tutorial for you!
The reason for this blog is how so many people ask "How do you make plugins? I don't know java!?!?" or "Where can I learn java? I want to make plugins!" or even "How do I make plugins?" without any knowlege of Java. But let's not get off topic! You need to learn Java first before making plugins!

I will split this up into sections.
Table Of Contents:
1. So how do I code/use java?
     1.1 What is the JavaJDK?
     1.2 What is an IDE?
     1.3 What do I do with an IDE?


1. So how do I code/use java?
This question is thrown around quite a bit for people who do not know java. It usually takes time. In a couple of months you will have a good grasp on the basics of Java. So now, how do I code in Java? The answer is simple! You need two things: a. JavaJDK b. An IDE of your choice. What are these? I will explain in a second!

1.1 What is the JavaJDK?
The answer should be fairly simple. It stands for Java Development Kit. It comprises of many things you will need to code in Java. A safe place to download is from the official website here.
undefined
The page should look similar to this. Scroll down to whichever Java version you are using and download it. If you are using older versions of java (like myself) you may want to refer to this page for 1.7 downloads. Or this for 1.6. A simple way to put it - you need this to code in Java.

1.2 What is an IDE?
IDE stands for Integrated Development Enviroment. It allows you to actually code! You need one of these also to code. This is where the code will go. I've only used Eclipse and I prefer it. Below is are two popular IDEs.
- Eclipse
- IntelliJ
I
've never used IntelliJ before, so the tutorials will come from eclipse. Do not ask me help for using IntelliJ.

1.3 What do I do with an IDE?
(The tutorial come from eclipse) The first thing you will need to do will be to set a workspace. When eclipse first opens it will ask you where to set your workspace. A good place would be in a folder in your desktop but it can be virtually anywhere. Then eclipse will open! That is where you get to do your coding. It usually brings you to a welcome page but you can close out of that by hitting the X next to it besides the page name. There you have it! You now have a Java IDE set up where you can start coding!

In the next tutorial we will talk about creating a project and a class.
CreditImage from Oracle(www.oracle.com)
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome