PDA

View Full Version : Cant make the Java jdk console work!



Andrax
October 11th, 2007, 02:13 AM
Well im pretty new at Ubuntu, and im really new at programming, so I just got a JAVA tutorial and it told me to download the jdk. I did it form synaptic, it worked, but when I open Application>System Tools>Sun Java 6 Console the console starts up, but does nothing just stays there blank. Ive included an image for you to see:
http://img462.imageshack.us/img462/683/screenshotxw9.png (http://imageshack.us)

davidshere
October 11th, 2007, 02:17 AM
man... I need to get a bigger screen.

What are you trying to do?
What do you expect the console to do?

I have never used the Ubuntu packages to install Java. I usually need the latest version and usually the Ubuntu package isn't the latest version. This doesn't mean, however, that the Ubuntu packages won't work for what you are trying to do.

Andrax
October 11th, 2007, 03:47 AM
Well, what Im trying to do is start programming lol... I want to like open the console where I cant start just putting comands in it; I dunno if you can do it whith that console, maybe I need like netbeans or something.
Hey could you tell me how you downloaded your JAVA version, so I could try it out?

pbrockway2
October 11th, 2007, 04:41 AM
Well, what Im trying to do is start programming lol... I want to like open the console where I cant start just putting comands in it

A plain text editor is a good place to start - I use Kate. But whatever you use, you compile and run the programs from the command line.

Netbeans and Eclipse are both free IDEs, but you will learn a lot by mastering the syntax of the java tools (java, javac, jar etc).

Sun's Tutorial is worth a read: Getting Started (http://java.sun.com/docs/books/tutorial/getStarted/index.html)

Ramses de Norre
October 11th, 2007, 08:51 AM
I want to like open the console where I cant start just putting comands in it;

It's not that kind of a console, jconsole is a monitoring program, to evaluate statistics from running java apps.

When I open jconsole I get the same window but I also get a window to connect to a java process. Maybe you're stuck with the compiz/swing bug, I don't know whether it has been fixed already?

Anyway, to start programming, install eclipse of netbeans.