Results 1 to 10 of 10
Hi
I recently shifted to mdk from FC4. I tried to install the java development kit on my box but it does not work. It gets installed but when I ...
- 08-03-2005 #1
jdk on mdk 10.1
Hi
I recently shifted to mdk from FC4. I tried to install the java development kit on my box but it does not work. It gets installed but when I run the following commandsorCode:java
I just get the message of unrecognized command. It used to work on MDK 10.0 and FC 2,3,4. but not here. ANY HELP??????Code:javac
Thanks in advance.
- 08-03-2005 #2
Your java and javac binaries are now in /usr/java/j2sdk*/bin folder
You could link them to /usr/bin if you like
- 08-03-2005 #3
or you could update your path variable with:
Code:export PATH=$PATH:/usr/java/jdk1.5.0_04/bin/
Life is complex, it has a real part and an imaginary part.
- 08-03-2005 #4Thanks a lot!!!!!!! It finally worked.....
Originally Posted by AlexK
Cool signature too!!!
- 08-06-2005 #5Thanks that worked but whenever I restart my console (leave alone the computer) I have to retype this command.
Originally Posted by AlexK
- 08-06-2005 #6Thanks that worked but whenever I restart my console (leave alone the computer) I have to retype this command.
Findin your /etc/profile and addCode:pathmunge /sbin pathmunge /usr/sbin pathmunge /usr/local/sbin
after themCode:pathmunge /usr/java/jdk1.5.0_04/bin/
- 08-06-2005 #7Could not find such things in /etc/profile. Pasting the whole file here....
Originally Posted by eugrus
Code:# /etc/profile -*- Mode: shell-script -*- # (c) MandrakeSoft, Chmouel Boudjnah <chmouel@mandrakesoft.com> loginsh=1 # Users generally won't see annoyng core files [ "$UID" = "0" ] && ulimit -S -c 1000000 > /dev/null 2>&1 if ! echo ${PATH} |grep -q /usr/X11R6/bin ; then PATH="$PATH:/usr/X11R6/bin" fi if [ "$UID" -ge 500 ] && ! echo ${PATH} |grep -q /usr/games ; then export PATH=$PATH:/usr/games fi umask 022 USER=`id -un` LOGNAME=$USER MAIL="/var/spool/mail/$USER" HISTCONTROL=ignoredups HOSTNAME=`/bin/hostname` HISTSIZE=1000 if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then INPUTRC=/etc/inputrc fi # some old programs still use it (eg: "man"), and it is also # required for level1 compliance for LI18NUX2000 NLSPATH=/usr/share/locale/%l/%N export PATH PS1 USER LOGNAME MAIL HOSTNAME INPUTRC NLSPATH export HISTCONTROL HISTSIZE for i in /etc/profile.d/*.sh ; do if [ -x $i ]; then . $i fi done unset i
- 08-06-2005 #8This seems like the simplest solution...have you tried this?
Originally Posted by eugrus
(Replace * with your version)Code:ln -s /usr/java/j2sdk*/bin/java /usr/bin/java ln -s /usr/java/j2sdk*/bin/javac /usr/bin/javac
BryanLooking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 08-06-2005 #9Yo! It finally works!!! Thanks a lot!!!
Originally Posted by bryansmith
- 08-06-2005 #10
Originally Posted by apoorv_khurasia
I've suggested it in the early begining!


Reply With Quote
