|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
[68cat] [mobility] JavaME SDK 3.0 on Mac gives preverify errorsHi,
Since my Windows box died on me recently I was extremely happy to learn that the JavaME SDK for Mac is in EA and downloaded and installed the whole thing. All went fine until I tried to compile my project and got preverification errors that don't make sense to me. Below a snippet of the output. The weird thing is that on Windows all works fine and without problems. If anybody has an idea on what's going on I'd appreciate some guidance and if you think it's a bug than I'll be happy to report it. Interestingly enough, this is only showing when doing a clean-build, just a build seems to work fine, until you deploy the application. Then the emulator complains about a corrupt JAR file. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- SNIP START -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Preverifying 309 file(s) into /Users/Iwan/NetBeansProjects/projects/FriendOrFoe/frontend/IFF_FrontEnd/build/preverified directory. Unexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC value Error preverifying class com.sticktailgames.iff.frontend.comm.AsynchronousPlayerRetriever VERIFIER ERROR com/sticktailgames/iff/frontend/comm/AsynchronousPlayerRetriever.run()V: Unsorted lookup switch /Users/Iwan/NetBeansProjects/projects/FriendOrFoe/frontend/IFF_FrontEnd/nbproject/build-impl.xml:479: Preverification failed with error code 1. BUILD FAILED (total time: 7 seconds) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- SNIP END -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -- Iwan Eising -- Follow me on Twitter as: ThreeAxis (http://twitter.com/ThreeAxis) Sticktail Games' game IFF: http://www.sticktailgames.com:8080/IFFMobile/ Check my Personal blog on: http://words-from-the-netherlands.blogspot.com/ Check my Psycho Thriller on: http://the-fingers.blogspot.com/ Check my Developer related blog on: http://the-netbeans-experience.blogspot.com/ |
|
|
Re: [68cat] [mobility] JavaME SDK 3.0 on Mac gives preverify errorsIwan,
some questions: 1, does it work in Java ME SDK with some of their samples? --works for me. But the "Unexpected CRC value" is there. -----------------8<---------------- Preverifying 16 file(s) into /Applications/Java_ME_SDK_3.0.app/Contents/Resources/apps/Games/build/preverified directory. Unexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC value Copying 26 files to /Applications/Java_ME_SDK_3.0.app/Contents/Resources/apps/Games/build/preverified post-preverify: preverify: pre-jar: -----------------8<---------------- 2, what is your NB distribution? Have you installed the Mobility through Update Center (Plugins)? 3, Could you change Ant verbosity mode to "Debug" and build again? It will provide more details what's going on. OK, before I finished this email I received answer from Java ME SDK developers who already answered this question - http://forums.sun.com/thread.jspa?threadID=5413745&tstart=0 Never less, please, provide as much details as possible next time. It applies to all NetCATters ;) thanks Lukas. Iwan Eising wrote: > Hi, > > Since my Windows box died on me recently I was extremely happy to > learn that the JavaME SDK for Mac is in EA and downloaded and > installed the whole thing. All went fine until I tried to compile my > project and got preverification errors that don't make sense to me. > Below a snippet of the output. The weird thing is that on Windows all > works fine and without problems. > > If anybody has an idea on what's going on I'd appreciate some guidance > and if you think it's a bug than I'll be happy to report it. > Interestingly enough, this is only showing when doing a clean-build, > just a build seems to work fine, until you deploy the application. > Then the emulator complains about a corrupt JAR file. > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- SNIP START > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Preverifying 309 file(s) into > /Users/Iwan/NetBeansProjects/projects/FriendOrFoe/frontend/IFF_FrontEnd/build/preverified > directory. > Unexpected CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected > CRC valueUnexpected CRC valueUnexpected CRC valueUnexpected CRC value > Error preverifying class > com.sticktailgames.iff.frontend.comm.AsynchronousPlayerRetriever > VERIFIER ERROR > com/sticktailgames/iff/frontend/comm/AsynchronousPlayerRetriever.run()V: > Unsorted lookup switch > /Users/Iwan/NetBeansProjects/projects/FriendOrFoe/frontend/IFF_FrontEnd/nbproject/build-impl.xml:479: > Preverification failed with error code 1. > BUILD FAILED (total time: 7 seconds) > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- SNIP END > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > |
| Free embeddable forum powered by Nabble | Forum Help |