Re: javac

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

 



ricardo wrote:

hi, I'm new in this list, I have problems to compile in FC3 using java jdk-1_5_0_01


[root@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@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@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@xxxxxx>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux