.jar – and now?
Jan 22, 2011 at 4:18pm
.jar – and now?
a collegue made me an application in .jar format.
it is a program which reads files from disks, processes some text
now i would like to use this code with [mxj]. how do i do that?
is there a way how i can use the .jar directly?
or is there a way how i can use the java source files directly?
i have almost no idea about java programming, and i have no idea
(and i will not understand your replies if you start talking java to me.
yet i can read and interpret code unless it is not chinese.
so i have looked into some helpfiles (mxj.gaussian.help) and it looks
in best case i need to run the thing without the OSX JRE app (which is
in case poiting to the .jar or pointing to the source code are solutions
just say the mxj wouldnt do much more than the [+ ] object.
Jan 22, 2011 at 5:05pm
If it’s an applet, you could try loading it in jweb.
It takes very little code if you’re using eclipse (the java IDE). That’s all I really know about. To be honest, I don’t even understand how java compiles or includes jars.
In eclipse, it’s a matter of including your jar(using gui, not code), including Cycling’s api(using a gui), and writing a max object that calls the functions of the objects contained in the jar. (you’ll need documentation from your friend)
in psuedocode it would be something like this
then in max you would instantiate [MXJ RomansJarMobj]
Jan 22, 2011 at 5:23pm
maybe i can not exspect “include my.jar”, but it was a try.
Jan 22, 2011 at 6:17pm
If you can pass arguments to the .jar file to give it the path and name of the file to read, and the path and name to save output to, for example, you could do this from the command-line
from the java man:
You can use aka.shell, or shell, or the attached mxj object to do this.
Jan 22, 2011 at 6:28pm
you mean .. and just run the jar app in background? also an idea which i wil note down.
Jan 22, 2011 at 6:46pm
Yeah, sort of. If the .jar has a GUI than that will pop up when you run the java -jar
Jan 24, 2011 at 5:29pm
i just tried to update my netbeans to 6.9 so that i could look at the
and as it seems 10.4.11 on PPC is the ONLY combination where
it seems it is easier to buy a PC than to bring this dumb app to mxj
You must be logged in to reply to this topic.