From: Sprinceana on 6 May 2010 12:50 I want to make a java package using deployment tool of matlab. I'm using matlab 2007b(7.5) that use : >>ver Matlab Compiler 4.7 sur MCR 7.7 je crois que c'est cette version pour 2007b (7.5) Matlab Builder for Java 2.0 c'est sur I have a main file called haar_transf. I have other files that makes reference with this file that are placed in other files when I make deployment tool and select Matlab BUILDER FOR JAVA and then java package. Until here all is ok. Problems: And when I gave build project it gives me an error : I want to deploy an exe (and a jar file using java package) but I have that error above After that I need to put this on another computer that uses linux 32bit and upload safely the jar that results from java package Information: Linux ns3.hyria.net 2.6.31.5-xxxx-std-ipv4-32 #3 SMP Tue Nov 24 16:54:54 UTC 2009 i686 GNU/Linux ns3 is the name of server I don't know why it doesn't generate me a jar file when I make a java package in deployment project. Here is the printscreen: (I made add file of the files that I have): http://img23.imageshack.us/i/javapackage.jpg/ Here is the output on deployment tool after I made Java Package and pressed the Build Project button: http://img402.imageshack.us/img402/8606/javapacklog.jpg I search on web and I know that java package uses a java class that embed all matlab code and makes an exe and a jar file that use java to be compiled. The problem is that I receive that error above deployment tool output and also I don't know which MCR, Matlab Builder for Java 2.0 to use for linux 32 bit that is the operating system of the second computer (WHICH I MUST RUN my exe and place jar file) that hasn't matlab installed and which I must have the jar file made by the java package ( i think the second computer must have the same versions that I have for my matlab 7.5.(2007b). ) Waiting some good answers in order to guide me! After receiving this error on deployment tool output it made this folders but I haven't anything inside: (look here to see what he's done after build output of javapath): JavaPack is the name of Project of type JavaPackage from Deployment Tool: (look here what he's done after building java package): http://www.mediafire.com/?4amzjmwgddb It's the first time I make a java package using deploymentool of matlab.
From: Sprinceana on 7 May 2010 04:20 Any ideas ? I don't know what I'm missing truly:( I added the javapath: >>javapath('path_where_I_have_my_files')
From: Sprinceana on 7 May 2010 09:24 >> pwd ans = C:\Documents and Settings\Production\Mes documents\MATLAB >> javaaddpath(pwd) Even though I receive the same error in deployment tool output as listed in the second link in imageshack.
From: Sprinceana on 7 May 2010 09:53 I solved was the Environment variable for java. I added this to the Path (name of variable system and now it's working) C:\Program Files\Java\jdk1.5.0_11\bin
|
Pages: 1 Prev: 1D Functions and Dot Operators Next: What's the difference between SWT and the new NDWT ? |