| Summary: | swt doesn't build with ibm-jdk due to missing jawt library | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Florian Loitsch <gentoo> |
| Component: | New packages | Assignee: | Java team <java> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Florian Loitsch
2005-05-29 12:01:12 UTC
The IBM jdk does include libjawt.so. It is just in different location.
For IBM jdk the libjawt.so is always in JDK/jre/bin
For SUN jdk the libjawt.so is in JDK/jre/lib/{i386,amd64,ppc?}
Another thing I noticed when creating an ebuild for eclipse 3.1 was that the IBM
jdk for amd64 has broken jni.h header and the build wont work against it without
some patching.
The workaround is to add -D_JNI_IMPORT_OR_EXPORT_ to CFLAGS when compiling swt_awt.c
This has been resolved in the 3.1 ebuild, please try that. Mikko, could you please open a new bug for that AMD64 issue? (Assign to java@gentoo.org and CC compnerd@gentoo.org please). |