I've a third-party
jar file weblogic.jar.
On my redhat
system , I put it in my $JAVA_HOME/jre/lib/ext and call a
class from anywhere by "JAVA weblogic.Admin". It works just fine.
I do the same on my Mandrake system. But the system complains with
"JAVA.lang.NoClassDefFoundError: weblogic/Admin" exception.
I put it in (say) /export/workarea/classes and added
"/export/workarea/classes/weblogic.jar" explicitly in my class path.
Called "JAVA weblogic.Admin" and got the same
"JAVA.lang.NoClassDefFoundError: weblogic/Admin" exception.
Now, I extract the contents of the jar under
"/export/workarea/classes/weblogic/". I go to
/export/workarea/classes/weblogic/ and issue "JAVA weblogic.Admin".
This time it works fine.
So, it seems the
JVM has problem reading Jar. Can anybody give me any
idea as to what's the deal here?
I am using 1.4.1_03. I've tried using the 1.4.2_02 also with same
result.Thanks,
- Sambit
if you can cc your resonse to my email
address too, I will appreciate
that.
Blogs related to Problem with reading Jar
Getting resources from JAR archive
Today I came to the
problem of
reading resources from
JAR file. I have an XML file packed together with application and I wanted to parse it on application start. It was not hard to conclude that I can use. // line with an error
...
Home (updated)
The best way to see the capabilities of this tool is
reading the user manual.
... This
problem is related with maven dependences and it has been solved. The
problem was due to
... PostListViewerController:
java.lang.NullPointerException
...
linux jdk 1.4.2_12 may fail with Linux procfs mounted
The
java launcher does not require /proc to be present and will
... /usr/local/linux-sun-jdk1.4.2/bin/
java -
jar ... but when /compat/linux/proc is mounted fails
reading some values from
... Just in case somebody hits this
problem...
...
informatyk
cbcv is a
Java class and byte code verifier. It verifies static class file
... Changes: This release implemented a '-j' option for verifying whole
jar files.
... library integration, tagging, publishing
reading lists in OPML on the net,
...
HowtoIntegrateJasperReports
Reading the data for the report from a database using raw SQL commands is of course
... There are no such
problems if we use the XML data source and generate XML data in
... and file.match(/.
jar/)) end end pipe = IO.popen "
java -cp
...
RE: Home
The best way to see the capabilities of this tool is
reading the user manual.
... This
problem is related with maven dependences and it has been solved. The
problem was due to
... PostListViewerController:
java.lang.NullPointerException
...