help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java package install seems to be ok, but is NOT working.


From: Herdon
Subject: Re: Java package install seems to be ok, but is NOT working.
Date: Wed, 23 Jan 2013 22:19:00 -0800 (PST)

Thank you for the instructions. I followed them as precisely as I could, but
obviously something is wrong.
Here is what happened in Octave after I had done steps to remove java
package installation:
-------------------------------------------------------------------------------------------
octave:3> setenv ("JAVA_HOME", "C:/Program Files/Java/jdk1.6.0_03")
octave:4> setenv ("PATH", [getenv("JAVA_HOME") '\bin' pathsep
getenv("PATH")])
octave:5> strsplit (getenv("PATH"), pathsep)
ans =
{
  [1,1] = C:/Program Files/Java/jdk1.6.0_03\bin
  ....(the rest of path is snipped)...
}
octave:6> system ("javac -version")
javac 1.6.0_03
ans = 0
octave:7> pkg install -forge -auto -verbose java
mkdir (C:\DOCUME~1\LOCALA~1\LOCALS~1\Temp\oct-2)
untar (C:\Documents and Settings\localadmin\java-1.2.9.tar.gz,
C:\DOCUME~1\LOCALA~1\LOCALS~1\Temp\oct-2)
For information about changes from previous versions of the java package,
run 'news ("java")'.
octave:8> javamem
error: `java_invoke' undefined near line 65 column 8
error: called from:
error:   C:\Program
Files\Octave362\Octave3.6.2_gcc4.6.2\share\octave\packages\java-1.2.9\javamem.m
at line 65, column 6
-------------------------------------------------------------------------------------------

Somehow it seems that pkg install command does not do very much, because
there is only two lines of resulting information after that. In your example
there was much much more!

Could it be that I should have never Java installed, or maybe there is just
something wrong with my computer?



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Java-package-install-seems-to-be-ok-but-is-NOT-working-tp4648763p4649073.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]