From: Peter Graves <peter@ar...> - 2002-11-13 14:44:55
This is really not the same problem Dave Roux originally reported as
bug 637555, but it's clearly a problem nonetheless:
> when I try to start (java -jar j.jar) it does not find the
> gnu.regexp library and throws an exception:
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Caused by: java.lang.IllegalAccessError: tried to access
> method java.lang.Object.clone()Ljava/lang/Object; from class
> at gnu.regexp.REMatch.clone(REMatch.java:57)
> I downloaded the binary version (tar.gz)
This looks like it might be some sort of problem with j.jar in the
binary distribution, or a Java version issue.
What version of Java are you using? What operating system?
J has been using the same version of the gnu.regexp library in the same
way for a long time without any problems that look like this, so I
don't think it's an actual bug in the code.
I'm a bit suspicious of the way I built j.jar for this release. For the
first time with this release, I used jikes 1.17 and built against the
Blackdown 1.4.1 JDK. Previously I did some tricks to insure Java 1.3.x
compatibility, but it seemed like the tricks weren't necessary any
longer with the release of jikes 1.17. Maybe I was wrong about that.
Are you using Java 1.3.x?
From: Peter Graves <peter@ar...> - 2002-11-13 17:24:28
> Peter> Are you using Java 1.3.x?
> no, my java -version says:
> java version "1.4.1"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
> Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
> I'm running Linux (SuSe 8.0).
> the 0.17.0 version worked perfektly!
OK, I've reproduced the problem with Sun Java 1.4.1 (which is what
Apparently Sun Java 1.4.1 doesn't like something about the combination
of jikes 1.17 and the Blackdown 1.4.1 JDK.
One solution is to upgrade to Sun Java 1.4.1_01, which works fine here
(on a Debian system) with the released 0.17.1 binary.
In a day or two, when I understand all of these issues a bit better,
I'll try to do a 0.17.2 release that's built in a more compatible way.
Sorry for the inconvenience.
> BTW: J is a great piece of software!! Thanks for writing it!
Thanks for your help!
Get latest updates about Open Source Projects, Conferences and News.