LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-08-2008, 08:20 AM   #1
nedzer
Member
 
Registered: Dec 2008
Posts: 44

Rep: Reputation: 15
PATH update


Hi,

installing a qtjambi package and the following message appears


[root@moran qtjambi-linux32-gpl-4.4.3_01]# ./qtjambi.sh
Qt Jambi requires Java version 1.5.0 or higher to be preinstalled
to work. If Java is installed then make sure that the 'java' executable
is available in the PATH environment.

I've looked up the Sun site to get this advice ""

"% /home/myuser/jwsdp-2.0/jwsdp-shared/bin/startup.sh
It's useful to set the PATH permanently so it will persist after rebooting. To set the PATH permanently, add the full path of the bin directory in the Java WSDP installation directory to the beginning of your PATH variable. Typically this full path looks something like /home/myuser/jwsdp-2.0/jwsdp-shared/bin."

I don't have any 'jwsdp-2.0' I presume this is an older version of java?

my java is at
/usr/java/jre1.6.0_10/bin

firefox version is 3.0.4

I don't have a notion what the Java WSDP is. is it jre1.6.0_10?

Where can I set the PATH variable?

Thanks in advance
 
Old 12-08-2008, 08:30 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,046
Blog Entries: 1

Rep: Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371Reputation: 1371
Hi,

I like to setup my '.bashrc' and '.bash_profile' to reflect my needs.

Code:
:~$ cat .bash_profile
# .bash_profile
#08-30-06 12:18 copied loki:/home/gws

# Source .bashrc
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
Code:
~$ cat .bashrc
#.bashrc
#08-30-06 12:17 gws copied loki:/home/gws
# Add bin to path
export PATH="$PATH:$HOME/bin"

# Dynamic resizing
shopt -s checkwinsize

# Custom prompt
#
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

#08-29-06 11:40 gws

#if [ `id -un` = root ]; then
#  PS1='\[\033[1;31m\]\h:\w\$\[\033[0m\] '
# else
#  PS1='\[\033[1;32m\]\h:\w\$\[\033[0m\] '
#fi
# Add color
eval `dircolors -b`

# User defined aliases
alias cls='clear'
alias clls='clear; ls'
alias ll='ls -l'
alias lsa='ls -A'
alias lsg='ls | grep'
alias na='nano'
alias web='links -g -download-dir ~/ www.google.com'

#08-29-06 11:45 gws
#To clean this up and cover your tracks once you log off

#Depending on your version of BASH, you might have to use
# the other form of this command
  trap "rm -f ~$LOGNAME/.bash_history" 0

#The older KSH-style form
#  trap 0 rm -f ~$LOGNAME/.bash_history
You can adapt or change the PATH in the '.bashrc' to reflect your needs for a user. Setting up other conditions can assist the needs of a user that will use the 'cli'. Alias is a good thing to assist one when they are working from the 'cli' with repeated commands.
 
  


Reply

Tags
path, variable


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
path of downloaded rpms by software update in FC6 Leon_Amirreza Fedora 1 03-17-2007 02:20 PM
update-rc.d' not found in PATH hraposo Debian 5 01-18-2007 05:00 PM
What is the debian way to update Library path? Akhran Debian 1 08-23-2005 09:07 AM
# su does not update path tvn Debian 3 06-22-2004 02:11 AM
How to Chnage Python's module search path (sys.path)? lramos85 Linux - Software 1 05-02-2004 06:10 PM


All times are GMT -5. The time now is 02:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration