Add Comment
|
Related Links
|
TrackBack
Compiling Waba Program with JDK 1.5WabaSDK was written to build mobile applications based on Java 1.1. When JDK 1.4 was released, Sun changed the reference table in the Java class bytecode. This was documented on the Wabasoft web site. The detail is in the excerpt below: Waba and JDK 1.4 Compiler However, when you try to compile with the "-target 1.1" flag on JDK 1.5, you'll get the following error message from javac: javac: target release 1.1 conflicts with default source release 1.5 To resolve this issue, you'll have to add the "-source 1.2" flag. You can use: javac -target 1.1 -source 1.2 ... I don't know why "-target 1.1 -source 1.2" makes sense. I have tried "-target 1.1 -source 1.1", but JDK 1.5 gives the "javac: invalid source release: 1.1" error message. I have also tried "-target 1.2 -source 1.2", which compiles and build just fine. But the Waba application doesn't run. Chieh Cheng
Add Comment
|
Related Links
|
TrackBack
Did your message disappear? Read the Forums FAQ. Add CommentSpam Control | * indicates required field TrackBackTrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites. Send Ping | TrackBack URL | Spam Control No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here. Messages, files, and images copyright by respective owners. |
Products
|
Services
101 Users Online
|
Copyright © 1996 - 2024. All Rights Reserved. |