| Summary: | Problem compiling org.eclipse.jdt.compiler.tool with IBM JDK | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | John Arthorne <john.arthorne> | ||||
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | Olivier_Thomann, pwebster, stephan.herrmann | ||||
| Version: | 4.3 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
|
Description
John Arthorne
Would it be possible to get an xml log from this compilation? Passing "-log <path to an xml file>" on the compiler's command line. This would help to find out if the classpath is properly set up. Reminds me of that peculiarity whereby IBM JDK isn't happy with just <jre_home>/lib/*.jar on the classpath but also needs s.t. like <jre_home>/lib/amd64/default/jclSC160/vm.jar. If that's missing, there's no class java.lang.String (and not even java.lang.Object), which could explain the above error. I don't know enough about toolchain.xml to tell if this should be covered. The batch compiler does a pretty good job at setting the bootclasspath if none is provided. Is it possible to get more details on how the batch compiler is invoked inside tycho builds? Created attachment 221205 [details]
Logging of the error
I'm running in a mode where tycho is providing the classpath based on the BREE:
[DEBUG] Manifest minimal BREE: OSGi profile 'JavaSE-1.6' { source level: 1.6, target level: 1.6}
[DEBUG] Effective BREE: OSGi profile 'JavaSE-1.6' { source level: 1.6, target level: 1.6}
[DEBUG] Effective source/target: 1.6/1.6
the classpath tycho passes in is captured in the log, but as Stephan mentioned it doesn't contain jre/lib/amd64/default/jclSC160/vm.jar
PW
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |