|
Quick Lists
|
|
Bug ID:
|
4785581
|
|
Votes
|
0
|
|
Synopsis
|
javaws on linux cannot be invoked via symbolic link
|
|
Category
|
javawebstart:other
|
|
Reported Against
|
1.2
|
|
Release Fixed
|
1.4.2(mantis-b11)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
|
|
Submit Date
|
27-NOV-2002
|
|
Description
|
On Linux, if you make a symbolic link to the javaws directory, then attempt
to run javaws through the link, it does not work. Only seems to happen in
bash shell. Only happens when configuration file does not yet exist.
$ ln -s /scratch2/sbohne/j2re1.4.2/javaws ~/javaws
$ ~/javaws/javaws
Java Web Start splash screen process exiting .....
Bad installation. No JRE found in configuration file: No such file or directory
|
|
Work Around
|
N/A
|
|
Evaluation
|
Requesting to fix for Mantis.
xxxxx@xxxxx 2002-11-27
In the javaws shell script we used 'bash' shell on linux to invoke the shell
to execute the script. Unfortunately, by default bash does not resolve
symbolic links when the 'cd' command is used. This caused APPHOME to
be set wrong if javaws was invoked through a symbolic link on Linux.
The fix is to invoke bash with -P, causing symbolic link to be resolved to
the physical directory before cding to it.
>From bash man page:
-P If set, do not follow symbolic links when
performing commands such as cd which change
the current directory. The physical direc¡
tory is used instead.
xxxxx@xxxxx 2002-12-04
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |