Jump to content
Compatible Support Forums

ericinsomewhere

Members
  • Content count

    1
  • Joined

  • Last visited

    Never

Everything posted by ericinsomewhere

  1. ericinsomewhere

    Can't run j2sdk on Fedora Core 3

    I'm a beginner in Linux, anybody can help to install Sun's j2sdk on Fedora Core 3? After download and install Sun's j2sdk, and try to run. The following message shown. How can I fix it? --- beginning of message ----------------------------------- [root@localhost ~]# java libgcj-java-placeholder.sh This script is a placeholder for the /usr/bin/java 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. Usage: gij [OPTION] ... CLASS [ARGS] ... to invoke CLASS.main, or gij -jar [OPTION] ... JARFILE [ARGS] ... to execute a jar file Try `gij --help' for more information. --- end of message ------------------------------------------ I try to modify /etc/profile to include Java Path as following, but still can't solve. --- start of profile ---------------------------------------- # /etc/profile # System wide environment and startup programs, for login setup # Functions and aliases go in /etc/bashrc pathmunge () { if ! echo $PATH | /bin/egrep -q "(^|$1($|" ; then if [ "$2" = "after" ] ; then PATH=$PATH:$1 else PATH=$1:$PATH fi fi } # Path manipulation if [ `id -u` = 0 ]; then pathmunge /sbin pathmunge /usr/sbin pathmunge /usr/local/sbin fi pathmunge /usr/X11R6/bin after # No core files by default ulimit -S -c 0 > /dev/null 2>&1 USER="`id -un`" LOGNAME=$USER MAIL="/var/spool/mail/$USER" HOSTNAME=`/bin/hostname` HISTSIZE=1000 if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then INPUTRC=/etc/inputrc fi # Java Path export JAVA_HOME=/usr/java/j2sdk1.4.2_06 export PATH=$PATH:$JAVA_HOME/bin export CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC for i in /etc/profile.d/*.sh ; do if [ -r "$i" ]; then . $i fi done unset i unset pathmunge --- end of /etc/profile ------------------------------------- How can I fix it? thx.
×