javac

Aleksandar Milivojevic amilivojevic at pbl.ca
Mon Jan 31 16:55:50 UTC 2005


ricardo wrote:
> 
> hi, I'm new in this list, I have problems to compile in FC3 using java  
> jdk-1_5_0_01
> 
> [root at localhost bin]# ls
> appletviewer   jarsigner     javaws     jstack   native2ascii  serialver
> apt            java          jconsole   jstat    orbd          servertool
> ControlPanel   javac         jdb        jstatd   pack200       Test.class
> extcheck       javadoc       jinfo      keytool  policytool    Test.java
> HtmlConverter  javah         jmap       kinit    rmic          tnameserv
> idlj           javap         jps        klist    rmid          unpack200
> jar            java-rmi.cgi  jsadebugd  ktab     rmiregistry
> [root at localhost bin]# javac Test.java
> libgcj-javac-placeholder.sh
> 
> This script is a placeholder for the /usr/bin/javac
> master link required by jpackage.org conventions.  libgcj's
> rmiregistry, rmic and jar tools are now slave symlinks to these
> masters, and are managed by the alternatives(8) system.
> 
> This change was necessary because the rmiregistry, rmic and jar tools
> installed by previous versions of libgcj conflicted with symlinks
> installed by jpackage.org JVM packages.
> [root at localhost bin]#
>  
> I really thanks some help

Go to /etc/alternatives, and change simbolic links to javac (and other 
Java related stuff) to point to your Sun Java installtion.  Currently, 
they seem to point to gcc-java implementation (which never really worked 
for me, at least not for anything more complex than hello world programs).

-- 
Aleksandar Milivojevic <amilivojevic at pbl.ca>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7




More information about the users mailing list