1.

Solve : Java programming help?

Answer»

I used to teach the Data Processing Class at the local Community College. Part of the curriculum was How to write java programs. We started with a blank page, wrote every line, compiled it, and tested the program. My question is what do I need to download in order to be able to waste a little time writing programs to REVERSE the order of a sentence and such. I used to spend a lot of free time playing with java. also where do I get it I think I have already downloaded a bunch of stuff from sun java but the blank page with a compiler button at the side just don't come up, I get a bunch of HTTP stuff that I don't understand and have no desire to work with. Maybe I need an old Java program. Any help will be appreciated, thanks.you could try netbeans IDE; or eclipse.

At it's core java has always simply been javac- the command line java compiler. I am not aware of any built-in tool with a "compiler button", so that was probably some other piece of software.

P.S: Java is now owned by Oracle. Somehow I don't feel that BODES well for the language.

In any case, you could always simply use notepad/ a text editor and the command-line, just like in the beginning days

create a quick test program in notepad; for example, "javatest.java":

Code: [Select]public class javatest{
public static void main(String[] ARGS)
{

System.out.println("Java test.");

}
}
And, if you installed the JDK properly, java (the VM) and javac (the compiler) should both be readily available at the command line:

Code: [Select]C:\>javac javatest.java

which, I don't doubt you already know, creates the class file:

Code: [Select]C:\>java javatest
Java test.

BC_Programmer pretty much has it covered.

Just one quick point though - if you'll be developing (/writing test programs), you'll need the Java JDK release (http://www.oracle.com/technetwork/java/javase/downloads/index.html) not the standard runtime one. This can be a common mistake since people download 'Java' (the runtime one, not the JDK) but then can't write and run programs.I just downloaded the jdk, will see what happens, thank you.Can U plaese give me some programming codes for java? Quote from: Kemcykelly on October 21, 2010, 08:20:01 AM

Can u plaese give me some programming codes for java?
You need to start your own thread to get help. Before you do start a thread though, try to consider what you want to ACCOMPLISH. We can't help you with something that vague.Java programming very simple to write when you use netbeans IDE. It is made by japnies people and the java language used for this. It contain all the functions and many applications which is used to make the software. Quote from: wilbert99eaton on November 03, 2010, 12:21:03 AM
Quote removed

japnies? Isn't that a kind of pepper?


Discussion

No Comment Found