jre location PATH


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers jre location PATH
# 1  
Old 06-21-2011
jre location PATH

How do you set the classpath for jre location....What are all the steps?
# 2  
Old 06-21-2011
You usually don't need to set classpath for jre. I think you need add jre/bin location to your path. This depends of your shell. Here is more information.
# 3  
Old 06-21-2011
If i have jre located inside jdk and if i have already set the path variable for jdk ...what difference is it to set it for jre? Also, whats the difference between path and classpath ...do u need to set both in case of jre and jdk?
# 4  
Old 06-21-2011
# 5  
Old 06-21-2011
Hi Yazu,

I am talking about solaris and not linux.... Also, the link you gaveI tried to do PATH = xyz and then export PATH...
I have logged in as sudo bash -l
does this mean I am in bash shell?

When i see etc/profile I see different value of path variable then the one i set....where does the one i set variable stored (in what file) and why dont they match ?



Last edited by siddhans; 06-21-2011 at 03:56 PM.. Reason: change
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to change the path location within the shell script?

Hi ALL, I am trying to find the installed tomcat version and location of the server.xml file to get the tomcat port number. Using below script to do that. #!/usr/bin/env bash var1=$(find / -name "version.sh" ! -size 0 2>&1 |egrep -v "tmp|docker") for loc1 in $var1 do ... (1 Reply)
Discussion started by: sravani25
1 Replies

2. UNIX for Beginners Questions & Answers

Convert Relative path to Absolute path, without changing directory to the file location.

Hello, I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies

3. AIX

JRE 1.4 Download location

Dear Expert, I'm will use the software monitoring server. but need the JRE ( Java runtime 1.4 for aix 6.1) I find at dvd aix doest exist, and find google I dont have the link location download. please share location file or Java runtime 1.4 for aix 6.1. regards, ~ruhul (1 Reply)
Discussion started by: williamen
1 Replies

4. Shell Programming and Scripting

Help with copying the list of files from one location to other location

A) I would like to achive following actions using shell script. can someone help me with writing the shell script 1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Discussion started by: GG2
1 Replies

5. Shell Programming and Scripting

How to find a existing file location and directory location in Solaris box?

Hi This is my third past and very impressed with previous post replies Hoping the same for below query How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies

6. Shell Programming and Scripting

File created in a different location instead of desired location on using crontab

Hi, I am logging to a linux server through a user "user1" in /home directory. There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory. When the script is added to crontab, on... (1 Reply)
Discussion started by: archana.n
1 Replies

7. UNIX for Dummies Questions & Answers

Need to find the OS JRE as well as User installed JRE on my UNIX box!

Hi, I want to determine whether my java application is pointing to the OS version of Java or the User installed Java version on my Unix box. I am aware of the "java -version" command, however I am unsure if the version returned is the OS one or the user one. Please help. Ali. (5 Replies)
Discussion started by: ali40
5 Replies

8. Shell Programming and Scripting

Shell Script for Copy files from one location to another location

Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval. (2 Replies)
Discussion started by: allways4u21
2 Replies

9. UNIX for Advanced & Expert Users

Rsync building file list/catalog path/location

Where is the file list created by rsync when it says building file list ? (1 Reply)
Discussion started by: glev2005
1 Replies

10. UNIX for Dummies Questions & Answers

where is unix-screen-binary path location

hi all, i wanna ask where is unix-screen-binary path location? i cannot find it in /usr/bin or /bin or using man command thx before (3 Replies)
Discussion started by: venven
3 Replies
Login or Register to Ask a Question