Results 1 to 3 of 3
Hi folks,
Debian 5.0
I need to install Java compiler to start my learning on Java.
On;
Virtual Package: java-compiler
Debian -- Details of package java-compiler in sid
I found;
...
- 04-20-2010 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
About Java compiler
Hi folks,
Debian 5.0
I need to install Java compiler to start my learning on Java.
On;
Virtual Package: java-compiler
Debian -- Details of package java-compiler in sid
I found;
gcj-4.3
The GNU compiler for Java(TM)
$ apt-cache policy gcjgcj is on Debian repoCode:gcj: Installed: (none) Candidate: 4:4.3.2-2 Version table: 4:4.3.2-2 0 500 http://ftp.hk.debian.org lenny/main Packages
However on the tutorial;
"Hello World!" for Solaris OS and Linux (The Java™ Tutorials > Getting Started > The "Hello World!" Application)
it uses "javac"
I can't find it on repo. Whether it is Sun's package. I need to download on Sun
website? TIA
I found;
javacc - A parser generator for use with Java
on repo.
B.R.
satimis
- 04-20-2010 #2Linux Engineer
- Join Date
- Apr 2006
- Location
- Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
- Posts
- 1,117
Hi.
Notes in my diary:
So you'll need to enable the non-free section in /etc/apt/sources.list. Here are the lines I have in mine:Code:Installed sun-java6-jdk to try to get a standard Java system plus plugins for Iceweasel. This installed: java-common odbcinst1debian1 sun-java6-bin sun-java6-jre unixodbc Removed gcj components. Also installed sun-java-plugin for iceweasel (Firefox). All installs were from lenny repository: sun-java6-jdk: Installed: 6-12-1 Candidate: 6-12-1 Version table: *** 6-12-1 0 500 http://ftp.us.debian.org lenny/non-free Packages 100 /var/lib/dpkg/status
Best wishes ... cheers, drlCode:deb http://ftp.us.debian.org/debian/ lenny main contrib non-free deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free deb http://security.debian.org/ lenny/updates main contrib non-free deb-src http://security.debian.org/ lenny/updates main contrib non-free deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
We look forward to helping you with the challenge of the other 10%.
( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )
- 04-20-2010 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546


Reply With Quote
