• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

What do i need to write java

Here and check out the rest of the site for help and tutorials
Download the Java 2 Platform Standard Edition to get started
Here,s another Linkto the Standard Edition Tutorial page
 
You need the SDK standard Development Kit to start with it has all your librarys and what not. You can use Notepad in windows to write the code Start Here It will guide you through what you need to get started
 
i really hate notepad i want to use this program that i have seen before. its colors the important words (system.out.println, int, etc..) and you can compile within the prog. anything like this? btw thanks for the links so far.
 
A good editor (Crimson Editor, Context), a java SDK (Sun rules here) and knowledge ( start with the tutorial at sun's java site)!

There's also a good book by Bruce Eckel: 'Thinking in Java' that you can download for free from the net!
 
ok got everything set up and i need DOS help. how do i make a command be able to be used in any directory... you know like how you can use copy, del, dir but for the commands java, javac
 
also if anyone knows how to tab in a string in java let me know.
example

System.out.println(TabFunction? "Hello, I am a Noob at Java.");
 
The same way as in any C-syntax (and similarly in most other) languages, with embedded escape sequences as such:

System.out.println("\tThis line is indented.\nThis is on a new line.");

Since you're new to Java, you should know that you can download a PDF of the book Thinking in Java at http://www.bruceeckel.com. It's considered one of the strong introductory Java programming books.

As for how to have the java commands available in the shell, you need to add the Java2 SDK bin directory to your environment's PATH. In Win98SE, you would add something like the following line in C:\autoexec.bat

SET PATH=%PATH%;C:\Program Files\JavaSoft\JRE\1.4.1\bin

I say something like because I don't use Java on Winblows so I don't recall the exact path to the Java2 SDK.
 
Back
Top