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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Fwd: Bash script to run OpenJUMP on Linux...
    ... I've recently installed the Java 1.5 packages for Debian. ... trying to launch the program, but I'm running into some trouble. ... There may be another reason why my script isn't working. ...
    (Debian-User)
  • Re: Fwd: Bash script to run OpenJUMP on Linux...
    ... trying to launch the program, but I'm running into some trouble. ... should be albe to run Java programs compiled for Java 1.4 on a Java ... but perhaps that doesn't work with Debian? ... There may be another reason why my script isn't working. ...
    (Debian-User)
  • Re: [opensuse] Editting PATH variable
    ... The jdk was installed in my home directory, ... SuSEconfig script ... ... For Java use editing the PATH variable is NOT required... ... which it explains how to install. ...
    (SuSE)
  • Re: Which Java for browser plugins?
    ... >>I'm wondering which Debian packageI should install for Java ... >>mean there aren't standard Debian packages which can replace ... >Download your favorite JRE or JDK and then use java-package to build ...
    (Debian-User)
  • Re: image gallery
    ... Does this mean i dont have to modify the second part of the script - telling ... If your pictures are stored in your images folder, ... pictures like the FP Banner web component but will be visible to users ... Being in Java doesn't usually / neccessarily mean insecure. ...
    (microsoft.public.frontpage.addins)