Java

Gary Varnell regx at dgswa.com
Sat Oct 29 09:00:40 UTC 2005


If you want to use an IDE like eclipse, make sure you set your JAVA_HOME 
environment variable.

sudo export JAVA_HOME = /path_to_java_sdk_dir

also you should add the java bin dir to your path

sudo export PATH=$PATH:/path_to_java_sdk_dir/bin

Hope that helps

I highly recommend eclipse

On Friday 28 October 2005 11:42 pm, 'Forum Post, '@wailuku.xlogicgroup.com 
wrote:
> Robert Cook Wrote:
> > I'm trying to get started programming java, I applied and installed the
> >
> > basic java package and the SDK (along with any other packages it said
> > were
> >
> > necesary when I chose those). What do I have to do now to open up the
> > actual
> >
> > program to start programming
> >
> > Thanks,
> >
> > Robert
> >
> > P.S. I'm still new with Ubuntu as well so please keep that in mind,
> > and any
> >
> > help is apreciated, thanks.
>
> You need to write java source code with an editor like gedit. Save
> "Yourfile.java". Compile with "javac Yourfile.java". Run with "java
> Yourfile".
>
>
>
> You could install and use an IDE too. I like eclipse and jedit(with
> plugins).
>
>
>
> Grab a small java book too, like Bruce Eckels free "Thinking In Java".
>
>
> --
> diebels

-- 

Gary Varnell

--------------------------------------------
"How many hardware engineers does it take to change a lightbulb? -None: "We'll 
fix it in software."






More information about the ubuntu-users mailing list