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

Re: j2skd1.4.0beta-i386.rpm to deb; will it work ?



----- Original Message -----
From: Colin Watson <cjwatson@debian.org>
To: <debian-user@lists.debian.org>
Sent: Sunday, August 18, 2002 10:58 PM
Subject: Re: j2skd1.4.0beta-i386.rpm to deb; will it work ?


> On Sun, Aug 18, 2002 at 10:48:53PM +0530, Dr. Sachin Kale wrote:
> > /usr/java/j2sdk1.4.0/bin/i386/native_threads/java: error while
loading
> > shared libraries: libstdc++-libc6.1-so. : Canot open shared object
> > file
>
> That error message looks incomplete. However, you most likely need
to
> install the libstdc++2.9-glibc2.1 package.
>
Thanks Colin, you were spot on !
Thanks to Ruddy & others also for help.

But still I am not able to run the javac command from other
directories. & even in the bin directory of the compiler I have to
type ./javac ( just javac is not enough ) to do anything. Here is my
/etc/profile file - ( watch for the word wrap )

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

export
CLASSPATH=.:/usr/java/j2sdk1.4.0/lib:/usr/java/j2sdk1.4.0/jre/lib
export JAVA_HOME=/usr/java/j2sdk1.4.0
export PATH=$JAVA_HOME/bin:$PATH
PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/lib/po
stgresql/bin:/usr/java/j2sdk1.4.0/bin"

if [ "$BASH" ]; then
  PS1='\u@\h:\w\$ '
else
  if [ "`id -u`" -eq 0 ]; then
    PS1='# '
  else
    PS1='$ '
  fi
fi

export PATH PS1

umask 022


Now the last question ( hopefully ! ) - what do I do to be able to run
javac from any directory ?

Thanks

Sachin








Reply to: