Re: [mapguide-users] no MapGuideJavaApi in java.library.path
I think that problem is in the name: in Linux system, JNI search for something named libMapGuideJavaApi.so, and that file should be found in the library path, while in windows system it search for MapGuideJavaApi.dll. You may try to make a symbolic link to the object created by build system named libMapGuideJavaApi.so The easiest way to put a library in the library path is to ensure that the directory where is located is in the system path. Hope this helps Riccardo gimbrogno @smartlab ha scritto: Hi, I have installed Mapguide OpenSource on same linux systems (ubuntu 7.10 and CentOS 5.1), but I have an error zwhen try the java sample !!! When LinuxApt is compiled, it is not able to create the MapGuideApi.jar, so I have copied this jar from a windows in /WEB-INF/lib. Unber the directory tomcat/conf there is not Catalina/localhost, so I have created this two directories and I've copied the LinuxApt/mapguide.xml into. After these works the result page is no MapGuideJavaApi in java.library.path... , but MapGuideJavaApi is not a jar file but a static object (MapGuideJavaApi.so.0.7). Where is the library path where this object must be copied to? Under windows systems, I have no problems!!! There is anyone that uses MaGuide OpenSource under Linux that can helps me? Thanks in advantage... (I'm sorry for my english, but english is not my native language) ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] no MapGuideJavaApi in java.library.path
HI, I m also facing the same error java.lang.UnsatisfiedLinkError: no MapGuideApi.jar in java.library.path. I m runing my application in jdeveloper. I have added the path of MapGuideApi to path and Classpath var but it is not working. have u found any alternative to this problem? Roberto Lo Giacco wrote: Rock Beans wrote: I wish they would drop Java and make PHP modules to make life easier on both platforms. No one really wants to run Tomcat if they don't have to. I hope your wishes doesn't come true... I agree with you about the Tomcat statement, but actually I need to rn JBoss (which contains Tomcata BTW) for many other reasons, so it's easier for me to integrate a JSP than to integrate a PHP... My 0.02€ contribution -- View this message in context: http://n2.nabble.com/no-MapGuideJavaApi-in-java.library.path-tp1816551p2124640.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] no MapGuideJavaApi in java.library.path
Hi all, I have not yet solved the problem with java! Could you tell me how to set up the variable JAVA_HOME and all others? Thank you for all suggestions Gianfranco Rock Beans wrote: Why make your life complicated? It's Summertime enjoy. By the time you get it working 85% stable on Linux a new version will be out and you will be recompiling again. I have had luck on CentOS 4 and 5. Make sure you JAVA_HOME and other Java variables are set. That set environment script is annoying but very important to the compilation process. I wish they would drop Java and make PHP modules to make life easier on both platforms. No one really wants to run Tomcat if they don't have to. Good luck, The Rock On Thu, Jun 12, 2008 at 2:34 AM, gimbrogno @smartlab [EMAIL PROTECTED] wrote: Hi, I have installed Mapguide OpenSource on same linux systems (ubuntu 7.10 and CentOS 5.1), but I have an error when try the java sample !!! When LinuxApt is compiled, it is not able to create the MapGuideApi.jar, so I have copied this jar from a windows in /WEB-INF/lib. Unber the directory tomcat/conf there is not Catalina/localhost, so I have created this two directories and I've copied the LinuxApt/mapguide.xml into. After these works the result page is no MapGuideJavaApi in java.library.path... , but MapGuideJavaApi is not a jar file but a static object (MapGuideJavaApi.so.0.7). Where is the library path where this object must be copied to? Under windows systems, I have no problems!!! There is anyone that uses MaGuide OpenSource under Linux that can helps me? Thanks in advantage... (I'm sorry for my english, but english is not my native language) -- View this message in context: http://www.nabble.com/no-MapGuideJavaApi-in-java.library.path-tp17794185p17794185.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users -- View this message in context: http://www.nabble.com/no-MapGuideJavaApi-in-java.library.path-tp17794185p18030492.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] no MapGuideJavaApi in java.library.path
Hi, I have installed Mapguide OpenSource on same linux systems (ubuntu 7.10 and CentOS 5.1), but I have an error when try the java sample !!! When LinuxApt is compiled, it is not able to create the MapGuideApi.jar, so I have copied this jar from a windows in /WEB-INF/lib. Unber the directory tomcat/conf there is not Catalina/localhost, so I have created this two directories and I've copied the LinuxApt/mapguide.xml into. After these works the result page is no MapGuideJavaApi in java.library.path... , but MapGuideJavaApi is not a jar file but a static object (MapGuideJavaApi.so.0.7). Where is the library path where this object must be copied to? Under windows systems, I have no problems!!! There is anyone that uses MaGuide OpenSource under Linux that can helps me? Thanks in advantage... (I'm sorry for my english, but english is not my native language) -- View this message in context: http://www.nabble.com/no-MapGuideJavaApi-in-java.library.path-tp17794185p17794185.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] no MapGuideJavaApi in java.library.path
Why make your life complicated? It's Summertime enjoy. By the time you get it working 85% stable on Linux a new version will be out and you will be recompiling again. I have had luck on CentOS 4 and 5. Make sure you JAVA_HOME and other Java variables are set. That set environment script is annoying but very important to the compilation process. I wish they would drop Java and make PHP modules to make life easier on both platforms. No one really wants to run Tomcat if they don't have to. Good luck, The Rock On Thu, Jun 12, 2008 at 2:34 AM, gimbrogno @smartlab [EMAIL PROTECTED] wrote: Hi, I have installed Mapguide OpenSource on same linux systems (ubuntu 7.10 and CentOS 5.1), but I have an error when try the java sample !!! When LinuxApt is compiled, it is not able to create the MapGuideApi.jar, so I have copied this jar from a windows in /WEB-INF/lib. Unber the directory tomcat/conf there is not Catalina/localhost, so I have created this two directories and I've copied the LinuxApt/mapguide.xml into. After these works the result page is no MapGuideJavaApi in java.library.path... , but MapGuideJavaApi is not a jar file but a static object (MapGuideJavaApi.so.0.7). Where is the library path where this object must be copied to? Under windows systems, I have no problems!!! There is anyone that uses MaGuide OpenSource under Linux that can helps me? Thanks in advantage... (I'm sorry for my english, but english is not my native language) -- View this message in context: http://www.nabble.com/no-MapGuideJavaApi-in-java.library.path-tp17794185p17794185.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] no MapGuideJavaApi in java.library.path
Why make your life complicated? It's Summertime enjoy. By the time you get it working 85% stable on Linux a new version will be out and you will be recompiling again. I have had luck on CentOS 4 and 5. Make sure you JAVA_HOME and other Java variables are set. That set environment script is annoying but very important to the compilation process. I wish they would drop Java and make PHP modules to make life easier on both platforms. No one really wants to run Tomcat if they don't have to. Good luck, The Rock On Thu, Jun 12, 2008 at 2:34 AM, gimbrogno @smartlab [EMAIL PROTECTED] wrote: Hi, I have installed Mapguide OpenSource on same linux systems (ubuntu 7.10 and CentOS 5.1), but I have an error when try the java sample !!! When LinuxApt is compiled, it is not able to create the MapGuideApi.jar, so I have copied this jar from a windows in /WEB-INF/lib. Unber the directory tomcat/conf there is not Catalina/localhost, so I have created this two directories and I've copied the LinuxApt/mapguide.xml into. After these works the result page is no MapGuideJavaApi in java.library.path... , but MapGuideJavaApi is not a jar file but a static object (MapGuideJavaApi.so.0.7). Where is the library path where this object must be copied to? Under windows systems, I have no problems!!! There is anyone that uses MaGuide OpenSource under Linux that can helps me? Thanks in advantage... (I'm sorry for my english, but english is not my native language) -- View this message in context: http://www.nabble.com/no-MapGuideJavaApi-in-java.library.path-tp17794185p17794185.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users