Hi, today I managed to make plplot work together with Java on Windows. It wasn't that hard actually, if I only would know Java ;). Anywa, here is the cookbook:
* Download J2SE(TM) Development Kit 5.0 Update 9 from http://java.sun.com/javase/downloads/index.jsp * Install package (Demos, source not needed, jre only if not installed already) * cmake finds java, except jni.h - you need to set environment variable: @set JAVADIR=C:\Program Files\Java\jdk1.5.0_09 @set CMAKE_INCLUDE_PATH=%JAVADIR%\include cmake doesn't need java in the path, but if you want to run the examples you might also need @set PATH=%JAVADIR%\bin;%PATH% * line 76 of java.cmake needs to be changed to set(PLPLOTJAVAC_WRAP_DLL plplotjavac_wrap${CMAKE_SHARED_LIBRARY_SUFFIX}) (already cvsed), Alan please check and tweak commentary * cmake should now find Java and compile everything (if you have swig installed as explained in earlier email) * you need to run "nmake install" after "nmake" so that java wrapper dll is in right place * if you have set -DBUILD_TEST=ON as cmake option you can test java examples with cd examples/java java -cp plplot.jar plplot.examples.x08 you also need to copy all needed dlls and font files in examples/java That's it. Straightforward (at least for windows ;). Another thing to tick off. Regards, Werner -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel