`
shappy1978
  • 浏览: 679027 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

使用 S60 Platform SDKs for Symbian OS, for Java 问题Jar file could not be initialize

    博客分类:
  • J2ME
阅读更多

调试执行时會跳出 S60 SDK error 的視窗中看到的訊息如下: 

Jar file could not be initialized. 
Caught exception: 
java.util.zip.ZipException: invalid entry compressed size (expected 537 but got 541 bytes) 
at java.util.zip.ZipOutputStream.closeEntry(Unknown Source) 
at ...... 
at ...... 
at ...... 
at com.symbian.io.JARFile.jarClassPath(JARFile.java:223) 
at com.symbian.io.JARFile.<init>(JARFile.java:111) 
at ...... 
at ...... 
at com.symbian.tools.j2me.sei.emulator.Main.main(Main.java:47) 
找了幾個nokia的論壇thread終於找到解了,提供您參考: 
前往Windows->Preferences->J2ME->Device Management 
選擇S60的device/emulator後按右邊的edit按鈕 
在出現的Basic頁籤裡的Launch Command Template裡 
將[%classpath%|-classpath "%classpath%"]給移掉就搞定了 
我試過是OK的,只是S60開起來會很慢,大概要等快一分鐘才會真正出現你寫的midlet啊 
只寫J2ME還是用WTK的emulatro就好

 

原来的启动参数:

%executable% [%debugPort%|-Xdebug -Xrunjdwp:transport=dt_socket,suspend=y,server=y,address=%debugPort%] [%classpath%|-classpath "%classpath%"] -Xdevice:%device% [%jadfile%|"-Xdescriptor:%jadfile%"] [%verbose%|-Xverbose:%verbose%] [%heapsize%|-Xheapsize:%heapsize%] [%securityDomain%|-Xdomain:%securityDomain%] %userSpecifiedArguments% [%target%|%target%] [%otaurl%|-Xjam:transient=%otaurl%]

 

分享到:
评论

相关推荐

    Nokia_S60_SDK.part01.rar

    S60 Platform SDKs for Symbian OS, for Java™ Supported editions and feature packs S60 SDKs supporting Java development are available for the following editions and feature packs: S60 3rd Edition.

    Common Design Patterns for Symbian OS: The Foundations of Smartphone Software

    Common Design Patterns for Symbian OS is intended to be used in conjunction with one or more SDKs for specific Symbian OS phones and with the resources available at the Symbian DevNet web site....

    Unity C# SDKs for PlayFab.zip

    Unity C# SDKs for PlayFab

    Framework not found IOSurface for architecture arm64 解决方案

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks目录下的IOSurface.framework、FileProvider.framework拷到Xcode8中相应目录下...

    解决Xcode10以上编译报错 library not found for "-lstdc++.6"

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/ 模拟器 dylib放到这个路径 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS....

    iPhoneOS13.6.sdk

    iPhoneOS13.6.sdk 替换位置:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

    SymbianOS应用程序结构

    为了支持开发者为Symbian OS开发应用程序,合作厂商开发了适应各自手机的SDK。Symbian OS应用程序开发者首先要获得一个SDK,...Symbian OS SDKs支持Java和C++语言的开发。开发人员可以根据自己的需要来选择相应的SDK。

    IOS11.1 15b93

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk (提示:要在应用程序中找到Xcode,右键点击 -&gt; 显示包内容,以前Xcode版本的iOS SDK有的保存在系统根目录...

    SuperMap Scene SDKs 10i(2020) for game engines_Unity_Beta.zip

    基于超图提供的三维GIS插件,不仅可以在游戏引擎中查询真实地物的属性信息,还可以进行模型的实时剖切分析和地形等值线分析

    部分项目依赖 libstdc++.6.0.9 的会在Xcode 10无法运行

    open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib ``` 如果安装在其他目录 或者Xcode改名的建议右键Xcode显示报内容,进入 ``` Contents/...

    airavata-orchestrator-client-sdks-0.12-javadoc.jar

    标签:airavata-orchestrator-client-sdks-0.12-javadoc.jar,airavata,orchestrator,client,sdks,0.12,javadoc,jar包下载,依赖包

    airavata-orchestrator-client-sdks-0.12-sources.jar

    标签:airavata-orchestrator-client-sdks-0.12-sources.jar,airavata,orchestrator,client,sdks,0.12,sources,jar包下载,依赖包

    airavata-orchestrator-client-sdks-0.13-sources.jar

    标签:airavata-orchestrator-client-sdks-0.13-sources.jar,airavata,orchestrator,client,sdks,0.13,sources,jar包下载,依赖包

    airavata-orchestrator-client-sdks-0.13-javadoc.jar

    标签:airavata-orchestrator-client-sdks-0.13-javadoc.jar,airavata,orchestrator,client,sdks,0.13,javadoc,jar包下载,依赖包

    rt.jar JDK1.8源码

    JDK动态代理生成字节码,用到了ProxyGenerator.generateProxyClass()方法,这个是rt....在IDEA中,File——Project Structure——SDKs——Sourcepath,右边+号添加你解压出来的\openjdk\jdk\src\share\classes就OK了。

    Xcode12 libsted++

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/ //模拟器 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/...

    airavata-orchestrator-client-sdks-0.13.jar

    标签:airavata-orchestrator-client-sdks-0.13.jar,airavata,orchestrator,client,sdks,0.13,jar包下载,依赖包

    airavata-orchestrator-client-sdks-0.12.jar

    标签:airavata-orchestrator-client-sdks-0.12.jar,airavata,orchestrator,client,sdks,0.12,jar包下载,依赖包

    libstdcpp.6.0.9.tbd

    Xcode10报错之libstdc++.6.0.9.tbd未找到(library not found for -lstdc++.6.0.9)需要用到的旧库。解压后粘贴到指定目录: 真机: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/...

    FileProvider.framework.zip

    编译项目提示framework not found fileprovider for architecture arm64后,把该资源下载后解压,复制到/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/...

Global site tag (gtag.js) - Google Analytics