help-octave
[Top][All Lists]
Advanced

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

Re: Java and Octave


From: PhilipNienhuis
Subject: Re: Java and Octave
Date: Fri, 15 Mar 2013 02:03:06 -0700 (PDT)

Jaya wrote
> The requirement is to use the java interface, connect to octave, so that
> octave processes the images.
> The programs are to be distributed and run on systems without
> octave installations.
> 
> Kindly advice on how to invoke octave function from java.

I'm not sure what you want as you didn't describe in sufficient detail what
you have tried yourself, so below is a bit of a guess.

If you need to invoke Java methods from Octave, you must add the directories
where these methods are (in .java files), and/or add the Java class libs
containing these methods (in .jar files), to the javaclasspath.
Before you can do that you'd need to load the Java package (" pkg load
Java").

Type (from Octave) "help javaclasspath" and "help javaaddpath" for more
info.

But if you want to invoke Octave from Java, you need another strategy.

Philip



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Java-and-Octave-tp4650776p4650811.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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