I have done image processing in MATLAB and build my GUI in Java. I want to integrate MATLAB into Java. I want to use MATLAB Builder for this purpose. I want also to use neural network for classification. There are some excel files also. Is it possible that this code will be integrated in Java?
My other question is that I want used MATLAB BuilderJA to know how it works. When I type java -version
command, it gave me this error.
??? Attempt to execute SCRIPT java as a function:
C:\Program Files\MATLAB\R2009b\toolbox\matlab\general\java.m
C:\Program Files\Java\jdk1.6.0_21
When I use build command it gave me this error.
'javac' is not recognized as an internal or external command,
operable program or batch file.
Error: An error occurred while shelling out to javac (error code = 1).
Unable to build executable.
I have JDK installed. The path is C:\Program Files\Java\jdk1.6.0_21
. I am using R2009b
version
I want to run my code in Java, but I do not know how to fix this error. Can any one tell me how to resolve this error?
C:\Program Files\Java\jdk1.6.0_21\bin
is on thePATH
? Also you can create aJAVA_HOME=C:\Program Files\Java\jdk1.6.0_21
environment variable.. – Asisbin
directory of both the JDK and JRE in thePATH
environment variable:PATH=%SystemRoot%\system32;....;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files\Java\jre6\bin
. By putting stuff on the path, you tells your system where to find the executablesjava.exe
andjavac.exe
you want to use – Asis