Click to See Complete Forum and Search --> : Java
Arjay
06-11-2002, 03:51 PM
I don't really know what i am talking about here so hopefully someone can help me. I am starting university in september for computing science and the language i will be learning is java. I have the course book already and they told me to use realj to write and compile my programmes (realj.com), i want to get a head start before september.
My questions is can i write java prgrammes and compile them in linux. The book i'm using is 'Java for students' and is mostly teaches you how to do applets.
I don't have much of a knowledge when it comes to programming so any help will be appreciated.
Thanks,
Arjay.
most definitely:
depending on your distro, you may already have a java compiler installed. If you need to get a compiler, you can choose between
kaffe (kaffe.org, a free as in speech java compiler) or
Sun's java compiler for linux : http://java.sun.com/j2se/1.4/download.html (As you can see, there's an rpm or a gzip you can dl.)
Then I suggest you take a look at the java tutorial: http://java.sun.com/docs/books/tutorial/
specifically: http://java.sun.com/docs/books/tutorial/getStarted/cupojava/unix.html
good luck and have fun.
Oh yeah, and use Vim; that's the only surefire way to get into heaven.
Dru Lee Parsec
06-11-2002, 05:11 PM
Arjay:
Until you mentioned it I was not even aware of RealJ. It looks like RealJ is an editor to be used to write your code. According to the FAQ you will still need to download the Java Development Kit (JDK) from Sun. In any case I'm going to look into RealJ to see how it looks.
I run Java on Windows 98/2000 and Mandrake Linux. You can download the JDK here: http://java.sun.com/j2se/1.4/download.html
Be sure to get the SDK (Software Development Kit which is the same as the JDK) instead of just the JRE. Also, be sure to get the free JDK documentation. It will really help.
There is a Newbie Help File here http://www.linuxnewbie.org/nhf/intel/programming/javaintro1.html that will explain how to install Java on a Linux box. 1.4 works really well on Linux. 1.3 had some bugs with the Swing components (Swing is the code name for the new GUI objects)
A good next step would be to go here : http://java.sun.com/docs/books/tutorial/ to the Java Tutorial and read the "Your first cup of Java" article.
Good luck! Java runs great on Linux systems. I think you'll be up and running in no time.
Arjay
06-11-2002, 07:31 PM
Hey thanks guys you've been more than helpfull, i really appreciate.
Thanks alot,
Arjay.