running java application on Linux.
Hi all, I got a java application that it's installation cd is on Windows machine where you first have to install the JVM on the machine and from that moment onwards it is a regular java application (so I understand) On my Linux machine I have installed blackdown-jre-1.4.1. Looking at the batch script (bat file) I see the line: java -jar TL53.jar This makes sens but when I try this line on the Linux machine I get: Exception in thread main java.util.zip.ZipException: No such file or directory at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) Any idea? My machine is: HP omnibook 6000 running Gentoo Linux fully updated, kernel 2.4.26-gentoo-r9 and as I said blackdown-jre-1.4.1 -- Thanks. David Harel, == Home office +972 4 6921986 Fax:+972 4 6921986 Cellular: +972 54 4534502 Snail Mail: Amuka D.N Merom Hagalil 13802 Israel Email: [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: running java application on Linux.
Open() is the internal native method, that reads archive file. private static native long open(String name, int mode, long lastModified) Looks like - archive file doesn't exist. - file permissions not allows Java application to access it. Check the owner and rw flags. Evgeny Gesin Javadesk / AllTelescopes --- David Harel [EMAIL PROTECTED] wrote: Hi all, I got a java application that it's installation cd is on Windows machine where you first have to install the JVM on the machine and from that moment onwards it is a regular java application (so I understand) On my Linux machine I have installed blackdown-jre-1.4.1. Looking at the batch script (bat file) I see the line: java -jar TL53.jar This makes sens but when I try this line on the Linux machine I get: Exception in thread main java.util.zip.ZipException: No such file or directory at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) Any idea? My machine is: HP omnibook 6000 running Gentoo Linux fully updated, kernel 2.4.26-gentoo-r9 and as I said blackdown-jre-1.4.1 -- Thanks. David Harel, == Home office +972 4 6921986 Fax:+972 4 6921986 Cellular: +972 54 4534502 Snail Mail: Amuka D.N Merom Hagalil 13802 Israel Email: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: running java application on Linux.
Hi David, I was able to duplicate your error by using a non-extistent file: [EMAIL PROTECTED] 545: java -jar pooka_010226 Exception in thread main java.util.zip.ZipException: No such file or directory at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:110) at java.util.jar.JarFile.init(JarFile.java:115) at java.util.jar.JarFile.init(JarFile.java:57) The following worked... [EMAIL PROTECTED] 546: java -jar pooka_010226.jar Bad .mime.types entry: application/x-shockwave-flash2-preview rf swf \ type=application/x-shockwave-flash2-preview exts=rf,swf,\ [EMAIL PROTECTED] 547: So it looks like something really simple like the file not existing in the current working directory or not having read permissions. - yba On Thu, 28 Oct 2004, David Harel wrote: Hi all, I got a java application that it's installation cd is on Windows machine where you first have to install the JVM on the machine and from that moment onwards it is a regular java application (so I understand) On my Linux machine I have installed blackdown-jre-1.4.1. Looking at the batch script (bat file) I see the line: java -jar TL53.jar This makes sens but when I try this line on the Linux machine I get: Exception in thread main java.util.zip.ZipException: No such file or directory at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) Any idea? My machine is: HP omnibook 6000 running Gentoo Linux fully updated, kernel 2.4.26-gentoo-r9 and as I said blackdown-jre-1.4.1 -- EE 77 7F 30 4A 64 2E C5 83 5F E7 49 A6 82 29 BA~. .~ Tk Open Systems =}ooO--U--Ooo{= - [EMAIL PROTECTED] - tel: +972.2.679.5364, http://www.tkos.co.il - = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
running java application on Linux.
Hi all, I got a java application that it's installation cd is on Windows machine where you first have to install the JVM on the machine and from that moment onwards it is a regular java application (so I understand) On my Linux machine I have installed blackdown-jre-1.4.1. Looking at the batch script (bat file) I see the line: java -jar TL53.jar This makes sens but when I try this line on the Linux machine I get: Exception in thread main java.util.zip.ZipException: No such file or directory at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) Any idea? My machine is: HP omnibook 6000 running Gentoo Linux fully updated, kernel 2.4.26-gentoo-r9 and as I said blackdown-jre-1.4.1 -- Thanks. David Harel, == Home office +972 4 6921986 Fax:+972 4 6921986 Cellular: +972 54 4534502 Snail Mail: Amuka D.N Merom Hagalil 13802 Israel Email: [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: running java application on Linux.
Quoting David Harel [EMAIL PROTECTED]: Looking at the batch script (bat file) I see the line: java -jar TL53.jar This makes sens but when I try this line on the Linux machine I get: Exception in thread main java.util.zip.ZipException: No such file or directory at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) Does the TL53.jar file exist in the current directory or in the java path? Herouth = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: running java application on Linux.
On Wed, 27 Oct 2004, David Harel wrote: Hi all, I got a java application that it's installation cd is on Windows machine where you first have to install the JVM on the machine and from that moment onwards it is a regular java application (so I understand) On my Linux machine I have installedblackdown-jre-1.4.1. Looking at the batch script (bat file) I see the line: java -jar TL53.jar This makes sens but when I try this line on the Linux machine I get: Exception in thread main java.util.zip.ZipException: No such file or directory at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:112) at java.util.jar.JarFile.init(JarFile.java:117) at java.util.jar.JarFile.init(JarFile.java:55) no such file or directory with no file name? use strace, luke... strace -f -eopen java -jar TL53.jar and look at the output from the last line backwards. one of these failed opens is what prompted the error. -- guy For world domination - press 1, or dial 0, and please hold, for the creator. -- nob o. dy = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]