[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: Bash script to run OpenJUMP on Linux...



Redefined Horizons wrote:
I've recently installed the Java 1.5 packages for Debian. I'm trying
to create a simple bash script that will launch a java program. (There
isn't a Debian package for this program, but I hope to create one if I
can get it runnging.)  I'm
trying to launch the program, but I'm running into some trouble.

I think I've tracked my problem down to a compatability problem with
my installed JVM and the program I'd like to run. 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 Debian?

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 this problem and can take a look at the script I'd
appreciate it. (The script is short.) :]

I can add a section to the Debian wiki explaining how to launch a Java
program on Debian if I can figure this out.

Scott Huey

I couldn't tell you exactly why your script does not work. What I can tell you is that as far as I know, compatibility is never supposed to break from earlier versions of a JDK to a later one (all of the program that I've ran or written that work in the earliest versions of the JDK still work in most recent versions without fault). I don't think that your problem has to do with JDK versions.

If you really want to make sure, you can get any version of the JDK at http://java.sun.com/downloads/ (http://wiki.serios.net/wiki/Debian_Java_JRE/JDK_installation tells you how to "package" the JDK in a debian way). I would just download the JDK (or JRE) in which the program is supposed to run and see if you don't get the same error as before.

I wont guess as to your error, but I hope you are able to find a solution. Good luck.

--
Sincerely
Jose Alburquerque



Reply to: