Java package: Difference between revisions

Jump to navigation Jump to search
436 bytes added ,  4 October 2013
Line 117: Line 117:
:doesn't return zero (i.e., the command "javac -version" doesn't return normally), the command:
:doesn't return zero (i.e., the command "javac -version" doesn't return normally), the command:
:<pre>octave> setenv ("PATH", [ getenv("JAVA_HOME"), filesep, "bin", pathsep, getenv("PATH") ])</pre>
:<pre>octave> setenv ("PATH", [ getenv("JAVA_HOME"), filesep, "bin", pathsep, getenv("PATH") ])</pre>
:should do the trick. Watch out that 'getenv("PATH")' contains no spaces.
:should do the trick. Watch out that 'getenv("PATH")' contains no spaces. Please note that in Windows operating system, already existing presence of Java address in PATH Environment Variable (present in Windows System Properties) can create conflict and prevent the Java package to be installed. Such presence can be spotted using this command:
<pre>strsplit (getenv("PATH"), pathsep)</pre>
Be sure to remove any previous addressing of java installation in PATH environment variable before the setenv command.


===Compile and install the package in Octave===
===Compile and install the package in Octave===
Anonymous user

Navigation menu