ADDITIONAL SYSTEM INFORMATION :
On my PC, running:
javac --version
yields:
javac 17.0.3
uname -a
yields:
Linux cimoli 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux
SHELL=/bin/tcsh
OSTYPE=linux
MACHTYPE=x86_64
HOSTTYPE=x86_64-linux
ARCH=x86_64
HOST=cimoli
TZ=America/New_York
JAVA_HOME=/usr/share/jdk
LD_LIBRARY_PATH=/usr/lib/mozilla
LD_PRELOAD=undefined
DISPLAY=:0.0
LD_ASSUME_KERNEL=undefined
_JAVA_SR_SIGNUM=undefined
_ALT_JAVA_HOME_DIR=undefined
A DESCRIPTION OF THE PROBLEM :
PROBLEM DESCRIPTION
______________________
When the shell script 'runExample.csh' it runs the following command:
javac -g -classpath . bfs/weblog/WebLog.java
When the java compiler is run, it should create a class file in the
same directory as the named java file. In this case, the java command
should create the class file:
bfs/weblog/WebLog.class
However, the class file is created in:
bfs_java1.8/weblog/WebLog.class
Thus, the object file is being created in the wrong directory.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
send an email to be at jjanderson52000@gmail.com and I will respond with a tar file that contains the example.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expect the class file to be created in the same directory as the directory of the source file specified on the command line.
ACTUAL -
The source file is a symbolic link to a java file in different directory. The class file was sent to the directory of the original source not to the directory of the specified source file.
---------- BEGIN SOURCE ----------
available upon request
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
find the created class file and move it to directory where it should be, or create a symbolic link from the correct directory to the directory where the source java file is linked to.
FREQUENCY : occasionally
On my PC, running:
javac --version
yields:
javac 17.0.3
uname -a
yields:
Linux cimoli 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux
SHELL=/bin/tcsh
OSTYPE=linux
MACHTYPE=x86_64
HOSTTYPE=x86_64-linux
ARCH=x86_64
HOST=cimoli
TZ=America/New_York
JAVA_HOME=/usr/share/jdk
LD_LIBRARY_PATH=/usr/lib/mozilla
LD_PRELOAD=undefined
DISPLAY=:0.0
LD_ASSUME_KERNEL=undefined
_JAVA_SR_SIGNUM=undefined
_ALT_JAVA_HOME_DIR=undefined
A DESCRIPTION OF THE PROBLEM :
PROBLEM DESCRIPTION
______________________
When the shell script 'runExample.csh' it runs the following command:
javac -g -classpath . bfs/weblog/WebLog.java
When the java compiler is run, it should create a class file in the
same directory as the named java file. In this case, the java command
should create the class file:
bfs/weblog/WebLog.class
However, the class file is created in:
bfs_java1.8/weblog/WebLog.class
Thus, the object file is being created in the wrong directory.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
send an email to be at jjanderson52000@gmail.com and I will respond with a tar file that contains the example.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expect the class file to be created in the same directory as the directory of the source file specified on the command line.
ACTUAL -
The source file is a symbolic link to a java file in different directory. The class file was sent to the directory of the original source not to the directory of the specified source file.
---------- BEGIN SOURCE ----------
available upon request
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
find the created class file and move it to directory where it should be, or create a symbolic link from the correct directory to the directory where the source java file is linked to.
FREQUENCY : occasionally