|
Bad Jar file?
|
|
Replies:
7
-
Pages:
1
-
Last Post:
Jan 29, 2008 5:07 AM
Last Post By: Simona
|
Threads:
[
Previous
|
Next
]
|
|
Posts:
3
Registered:
Apr 26, 2006 09:25:54 AM
|
|
|
|
Bad Jar file?
Posted:
Apr 27, 2006 03:45:09 PM
|
|
|
|
I get the following runtime error when trying to run the included example program, TestSSH:
Exception in thread "main" java.lang.IllegalAccessError: com.ibm.sslite.SSH$Connection: trying to access class com/ibm/sslite/c
at com.ibm.sslite.SSH$Connection.connect(DashoA8547)
at com.ibm.sslite.SSH$Connection.connect(DashoA8547)
at com.ibm.sslite.SSH$Connection.connect(DashoA8547)
at TestSSH.main(TestSSH.java:45)
I get the same thing using either the prod or debug jars.
According to the javadoc for IllegalAccessError:
"Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed."
Darrin
|
|
Posts:
3
Registered:
Apr 26, 2006 09:25:54 AM
|
|
|
|
Re: Bad Jar file?
Posted:
Apr 27, 2006 04:54:59 PM
in response to: 's post
|
|
|
|
Alright, i was using the IBM JDK 1.4.2 when I got the error, switching to Sun's 1.4.2 JDK made it go away.
Darrin
> I get the following runtime error when trying to run
> the included example program, TestSSH:
>
> Exception in thread "main"
> java.lang.IllegalAccessError:
> com.ibm.sslite.SSH$Connection: trying to access class
> com/ibm/sslite/c
> at
> at
> at
> at com.ibm.sslite.SSH$Connection.connect(DashoA8547)
> at
> at
> at
> at com.ibm.sslite.SSH$Connection.connect(DashoA8547)
> at
> at
> at
> at com.ibm.sslite.SSH$Connection.connect(DashoA8547)
> at TestSSH.main(TestSSH.java:45)
>
> I get the same thing using either the prod or debug
> jars.
>
> According to the javadoc for IllegalAccessError:
>
> "Normally, this error is caught by the compiler; this
> error can only occur at run time if the definition of
> a class has incompatibly changed."
>
> Darrin
|
|
Posts:
3
Registered:
Mar 23, 2006 10:05:55 AM
|
|
|
|
Re: Bad Jar file?
Posted:
Jan 03, 2007 10:21:08 AM
in response to: 's post
|
|
|
|
Is that because you had compiled with Sun's 1.4.2 JDK and were using IBM JDK at runtime? What I am really trying to find out is if this package can be used with IBM JDKs.
|
|
Posts:
1
Registered:
Jan 11, 2005 12:49:44 PM
|
|
|
|
Re: Bad Jar file?
Posted:
Jan 12, 2007 08:51:58 AM
in response to: 's post
|
|
|
|
Hi all,
I have the same problem.
My application works under tomcat (with sun jdk), but it doesn't work under was 6.0.2 (java.lang.IllegalAccessError: com.ibm.sslite.SSH$Connection: trying to access class com/ibm/sslite/c). Is there a solution? or am I mistaking?
Many thanks,
Angelo.
|
|
Posts:
1
Registered:
Apr 10, 2007 09:14:39 PM
|
|
|
|
Re: Bad Jar file?
Posted:
Apr 10, 2007 09:16:39 PM
in response to: pulsar's post
|
|
|
|
I meet the same problems, I complie and run it with IBM JDK 1.4.2, and I use it IBM internal, can I contact the developer ?
|
|
Posts:
3
Registered:
May 01, 2007 04:35:47 PM
|
|
|
|
Re: Bad Jar file?
Posted:
Aug 30, 2007 03:22:59 PM
in response to: Vincent He's post
|
|
|
|
HELP!!!
I have the same problem and need a solution. Has anyone found one? The author "Martin Clausen" cant be found in Blue Pages...
Thanks for any ideas...
Rich
|
|
Posts:
1
Registered:
Nov 14, 2007 09:45:48 AM
|
|
|
|
Re: Bad Jar file?
Posted:
Nov 14, 2007 09:46:40 AM
in response to: 's post
|
|
|
|
it runs fine under ibm jdk 1.3 but not on 1.4
|
|
Posts:
1
Registered:
Sep 18, 2006 10:17:31 AM
|
|
|
|
Re: Bad Jar file?
Posted:
Jan 29, 2008 05:07:17 AM
in response to: 's post
|
|
|
|
Hi, the answer "use jre 1.3" is not useful.. I do need to use these libraries with JDK 1.4, do someone know if a new version is going to be available?
Thank you
|
|
|
|
|