Le mardi 14 avril 2009 à 15:24 +0200, Sergio Cogliati a écrit : > Hi all, > > I'm trying to set some environment variables in my lenny in order to > start to develop a C++ scientific application to control a spectrometer.
> Where I can found libjvm.so?? Good luck with that ... With openjdk: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/client/libjvm.so With sun-java5-bin: /usr/lib/jvm/java-1.5.0-sun-1.5.0.17/jre/lib/i386/client/libjvm.so With sun-java6-bin: /usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib/i386/client/libjvm.so Note that will change if you are not under i386 and it can be tricky with other archs. If you are trying to do something portable (ie macosx, unix, other linux distributions), I wish you good luck ! For your information, Scilab is doing that a lot... Don't hesitate to reuse the script functions. Here is the m4 macros about the different vm detection: http://gitweb.scilab.org/?p=scilab;a=blob;f=scilab/m4/java.m4;h=ace058ee88c6c9a876e22162bf4e62f5a6c2107c;hb=HEAD And the startup script which detects java paths: http://gitweb.scilab.org/?p=scilab;a=blob;f=scilab/bin/scilab;h=65fd00adf4e1e38eeb2359f97e10bdb0a5c5ad41;hb=HEAD See function detect_java_vm(), line 236 to 438 Don't hesitate if you have more questions about that... Sylvestre > > thanks all!! > sergio > > > > > -- > _____________________________________________________________ > _______________________________________________________ > Sergio Cogliati > Remote Sensing of Environmental Dynamics Laboratory > Environmental Sciences Department > University of Milano-Bicocca > P.zza della Scienza 1 > 20126 Milano, Italy > tel: ++39-02-64482860 > fax: ++39-02-64482895 > lab-web: http://www.disat.unimib.it/Telerilevamento/ > personal-web: http://ltda-linuxserver.dyndns.org/sergio_page.html > email: [email protected] > > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

