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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Sunburned Surveyor
Sent: September 20, 2006 12:05 PM
To: JUMP Developers; List for discussion of JPP development and use.;
[EMAIL PROTECTED]
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



-------------------------------------------------------------------------
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
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to