From: Nutsch, B. D. <bn...@nd...> - 2006-09-21 02:24:21
|
Hello, I took a quick look and found that on Suse 10.1 my JAVA_HOME points to = /usr/lib/jvm/java. I do in fact have Java 1.4.2 and 1.5.0. In my menu, the OpenJump menu item points to = /usr/local/openjump-1.0.1/bin/openjump-unix.sh I believe that 'openjump-unix.sh' was installed when I installed = OpenJump. But key was setting the JAVA_HOME environment variable to = point to the appropriate Java flavor: #! /bin/sh #To make this script executable, use chmod a+x JUMPWorkbench-unix.sh # You may need to uncomment the next three lines on some linux systems = (Fedora?) JUMPHOME=3D/usr/local/openjump-1.0.1/bin JAVA_HOME=3D/usr/lib/jvm/java-1.5.0-sun-1.5.0_07/jre/bin cd $JUMPHOME # The next lines are required in any case LIB=3D../lib CLASSPATH=3D$LIB/bsh-2.0b4.jar:$LIB/Buoy.jar:$LIB/Jama-1.0.1.jar:$LIB/jdo= m.jar:$LI B/jts-1.7.jar:$LIB/jump-workbench-1.0.1.jar:$LIB/jump-api-1.0.1.jar:$LIB/= xercesI mpl.jar:$LIB/xml-apis.jar:$LIB/log4j-1.2.8.jar:$LIB/batik/batik-awt-util.= jar:$LI B/batik/batik-dom.jar:$LIB/batik/batik-svggen.jar:$LIB/batik/batik-util.j= ar:$LIB /batik/batik-xml.jar java -Dswing.defaultlaf=3Djavax.swing.plaf.metal.MetalLookAndFeel = -Dlog4j.configur ation=3Dfile:./log4j.xml -Xms256M -Xmx256M -cp $CLASSPATH = com.vividsolutions.jump. workbench.JUMPWorkbench -properties workbench-properties.xml = -plug-in-directory $LIB/ext Hope this helps. Regards, Bob -----Original Message----- From: jum...@li... on behalf of = Sunburned Surveyor Sent: Wed 9/20/2006 3:21 PM To: List for discussion of JPP development and use. Subject: Re: [JPP-Devel] [jump-users] RE: [jump-devel] Bash script = torunOpenJUMP onLinux... =20 Sure thing Bob. On 9/20/06, Nutsch, Bob D. <bn...@nd...> wrote: > Hello, > > You're welcome on the response. I'll be sure to get back to you on = this > as soon as I can, but while you are waiting on me if you solve the = issue > please let me know then I can skip the check. :-) > > Regards, Bob > > > > -----Original Message----- > > From: jum...@li... > > [mailto:jum...@li...] On > > Behalf Of Sunburned Surveyor > > Sent: Wednesday, September 20, 2006 2:54 PM > > To: List for discussion of JPP development and use. > > Subject: Re: [JPP-Devel] [jump-users] RE: [jump-devel] Bash > > script to runOpenJUMP onLinux... > > > > Thanks for the response David and Bob. > > > > Bob, if you could check your set-up I'd really appreciate it. > > I don't think there should "technically" be a problem running > > OpenJUMP-1.0.1 on my Java 1.5 environment. > > > > If you can confirm that you are running OpenJUMP on Java 1.5 > > then I can look in other places for my problem. > > > > I'm also going to try a post on the Debian mailing list. > > > > SS > > > > On 9/20/06, Nutsch, Bob D. <bn...@nd...> wrote: > > > Hi, > > > > > > I have OpenJump running on Suse 10.1. I'm not sitting at > > that machine > > > right now but if memory serves me correctly, I do have > > multiple Java > > > installs, 1.4.x for OpenOffice and 1.5.x for OpenJump and > > other things. > > > I believe that I just installed Java via an RPM and/or the Suse > > > install tool YaST. > > > > > > I'll have to check my OpenJump install notes but I think > > that when I > > > installed it I pointed it to my Java 1.5 and all was well. I'm > > > thinking that I have set JAVA_HOME to point to my 1.5 as well. > > > > > > For demo purposes, I ended up adding a menu item in Suse, > > so that when > > > I clicked on that item OpenJump fired up. I don't recall > > if I set up > > > a shell script that I pointed to from the menu or if I was able to > > > specify the runtime parameters from within the menu editor. > > > > > > When I get back to my home PC (hopefully later this evening) I can > > > check these things for you if you haven't yet solved the problem. > > > > > > Regards, Bob > > > > > > > > > > > > > -----Original Message----- > > > > From: jum...@li... > > > > [mailto:jum...@li...] On Behalf Of > > > > David Zwiers > > > > Sent: Wednesday, September 20, 2006 2:18 PM > > > > To: JUMP Developers; List for discussion of JPP development and > > > > use.; jum...@li... > > > > Subject: [jump-users] RE: [jump-devel] Bash script to run > > OpenJUMP > > > > onLinux... > > > > > > > > Looks like the version of the JVM run-time (java on > > Debian) does not > > > > match the jars (jump). In my experience, you need to compile / > > > > create the jar using the same Java version as you want to run = the > > > > application with. > > > > > > > > SS, so the solution to your problem is either: > > > > 1) install a matching JVM (1.4.2?) for your JUMP build (and make > > > > sure your PATH is setup correctly). > > > > 2) re-compile JUMP using an SDK for the desired runtime (1.5?) > > > > > > > > As a first step, I would try looking for a java 1.4.2 runtime on > > > > your debian env. Most linux installs allow multiple java > > > > installations, where default is defined on your path. > > > > > > > > HTH. > > > > > > > > David Zwiers > > > > Vivid Solutions > > > > Telephone : (250) 385-6040 > > > > > > > > > > > > -----Original Message----- > > > > From: jum...@li... > > > > [mailto:jum...@li...] On Behalf Of > > > > Sunburned Surveyor > > > > Sent: September 20, 2006 12:05 PM > > > > To: JUMP Developers; List for discussion of JPP development and > > > > use.; jum...@li... > > > > Subject: [jump-devel] Bash script to run OpenJUMP on Linux... > > > > > > > > I've recently installed the Java 1.5 packages for Debian. > > I'm trying > > > > to create a simple bash script that will launch OpenJUMP, but = I'm > > > > running into some trouble. > > > > > > > > I think I've tracked my problem down to a compatability > > problem with > > > > my installed JVM and OpenJUMP. Has anyone else been able to run > > > > OpenJUMP or JUMP sucessfully on Linux with a 1.5 JRE? Is that > > > > possible? I read that you should be albe to run Java programs > > > > compiled for Java 1.4 on a Java 1.5 JRE, but perhaps that = doesn't > > > > work with OpenJUMP? > > > > > > > > There may be another reason why my script isn't working. I have > > > > attached the script and the error message it generates. > > If anyone is > > > > familiar with Linux and can take a look I'd really appreciate = it. > > > > > > > > I'll add a new script to the CVS, and I may even have > > time to write > > > > a quick how-to that explains how to get OpenJUMP running on = Linux. > > > > > > > > The Sunburned Surveyor > > > > > > > > > > > > _______________________________________________ > > > > jump-users mailing list > > > > jum...@li... > > > > http://lists.refractions.net/mailman/listinfo/jump-users > > > > > > > > > > > > = ---------------------------------------------------------------------- > > > --- 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEV > > > DEV _______________________________________________ > > > Jump-pilot-devel mailing list > > > Jum...@li... > > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > > -------------------------------------------------------------- > > ----------- > > 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=3Djoin.php&p=3Dsourceforge > &CID=3DDEVDEV > > _______________________________________________ > > Jump-pilot-devel mailing list > > Jum...@li... > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > = -------------------------------------------------------------------------= > 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Jump-pilot-devel mailing list > Jum...@li... > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -------------------------------------------------------------------------= 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=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Jump-pilot-devel mailing list Jum...@li... https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel |