[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trying Java



On Mon, Aug 02, 1999 at 12:53:57PM +0200, Daniel Mashao wrote:
> 
> I am trying to learn Java and the linux system seemed a good environment.
> So I got hold of a tutorial that showed how to test javac and java
> programs. I installed, via apt, jdk1.1 and jdk1.1-dev.

	You are on the right track.
> 
> Everytime I run javac I get no error messages and nothing works. I trioed

	When you say nothing works, what do you mean by that?? Post us your java
	program...

	To compile the java program: use javac HelloWorld.java, this will generate
	a HelloWorld.class most likely.

	Then to run the compiled program: java HelloWorld

> to see what javac was and was suprised to see a lot of "meaningless" links

	They are not meaningless. This is a Debian policy that every package 
	should be followed.
> 
> /usr/bin/javac -> /etc/alternatives/javac
> /etc/alternatives/javac -> /usr/lib/jdk1.1/bin/javac
> /usr/lib/jdk1.1/bin/javac -> .java_wrapper
> 
> Anyone with some better insight?
> 
> /------------------------------------------------------------------------------/
> Daniel J. Mashao	      	
> Electrical Engineering                          daniel@eng.uct.ac.za
> University of Cape Town	       	            http://www.ee.uct.ac.za/~daniel 
> Rondebosch, 7700, S. Africa         (w) 27+21+650 2816  (h) 27+21+705 8469
> /------------------------------------------------------------------------------/
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 

-- 
____________________________________________________________________________
Shao Zhang - Running Debian 2.1  ___ _               _____
Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au                                                  |___/ 
_____________________________________________________________________________


Reply to: