Java Can';在Mac OS X上启动应用程序时,我收到错误LSOpenURLsWithRole(),应用程序失败,错误为-10810 问题
我正在尝试启动一个应用程序(),但它以静默方式失败。使用Java Can';在Mac OS X上启动应用程序时,我收到错误LSOpenURLsWithRole(),应用程序失败,错误为-10810 问题,java,macos,runtime,Java,Macos,Runtime,我正在尝试启动一个应用程序(),但它以静默方式失败。使用open gna.app时,会产生以下错误消息: LSOpenURLsWithRole() failed with error -10810 for the file /Applications/GNA_8.7.1.1/gna.app 我相信这个问题与我的Java运行时环境有关(程序是用Java编写的)。我不知道如何纠正这个问题 技术人员: 我的操作系统是MacOSX版本 我有两个最新版本的Java,Java8更新91 我还安装了 应用
open gna.app
时,会产生以下错误消息:
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/GNA_8.7.1.1/gna.app
我相信这个问题与我的Java运行时环境有关(程序是用Java编写的)。我不知道如何纠正这个问题
技术人员:
- 我的操作系统是MacOSX版本
- 我有两个最新版本的Java,Java8更新91
- 我还安装了
- 应用程序的info.plist文件
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> <plist version="0.9"> <dict> <key>CFBundleName</key> <string>gna</string> <key>CFBundleExecutable</key> <string>JavaApplicationStub</string> <key>CFBundleIconFile</key> <string>app.icns</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleIdentifier</key> <string>com.install4j.7878-5124-9390-0704.96</string> <key>CFBundleVersion</key> <string>8.7.1.1</string> <key>CFBundleShortVersionString</key> <string>8.7.1.1</string> <key>CFBundleGetInfoString</key> <string>8.7.1.1</string> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleAllowMixedLocalizations</key> <true/> <key>NSHighResolutionCapable</key> <true/> <!-- I4J_INSERT_DOCTYPE --> <key>i4j.baseDir</key> <string>$APP_PACKAGE/../</string> <key>LSMinimumSystemVersion</key> <string>10.7.3</string> <key>i4j.appId</key> <string>7878-5124-9390-0704</string> <key>i4j.allowPassthrough</key> <true/> <key>i4j.minVersion</key> <string>1.7</string> <key>i4j.maxVersion</key> <string>1.7</string> <key>i4j.vmIdPrefix</key> <string></string> <key>JavaVM</key> <dict> <key>MainClass</key> <string>com.install4j.runtime.launcher.MacLauncher</string> <key>VMOptionArray</key> <array> <string>-Dfile.encoding=UTF-8</string> <string>-Diogma.home=$APP_PACKAGE/..</string> <string>-Diogma.user.home=$APP_PACKAGE/..</string> <string>-Diogma.user.externals=$APP_PACKAGE/..</string> <string>-Diogma.user.data=$APP_PACKAGE/..</string> <string>-Diogma.licenser=default</string> <string>-Dlog4j.debug</string> <string>-Dlog4j.configuration=iogma/platform/log4j.properties</string> <string>-Dswing.defaultlaf=net.infonode.gui.laf.InfoNodeLookAndFeel</string> <string>-Duser.language=en</string> <string>-Diogma.application.name=GNA</string> <string>-Diogmadatabase=false</string> <string>-Dinstall4j.launcherId=96</string> <string>-Dinstall4j.swt=false</string> <string>-Djava.library.path=$APP_PACKAGE/../Externals/Ports/x86_64-darwin/lib</string> <string>-Dexe4j.moduleName=$APP_PACKAGE</string> </array> <key>OptionsFile</key> <string>$APP_PACKAGE/Contents/vmoptions.txt</string> <key>ArgumentArray</key> <array> </array> <key>SplashFile</key> <string>$APP_PACKAGE/../.install4j/s_1qq6wu9.png</string> <key>JVMVersion</key> <string>1.4+</string> <key>ClassPath</key> <string>$APP_PACKAGE/../.install4j/i4jruntime.jar:$APP_PACKAGE/../bin/*:$APP_PACKAGE/../GNA/bin/*:$APP_PACKAGE/../plugins/iogma.core.platform/bin/*</string><!-- I4J_INSERT_CLASSPATH --> </dict> </dict> </plist>
CFBundleName gna Cbundlexecutable JavaApplicationStub 循环流化床锅炉 app.icns CbundleInfo字典版本 6 CbundlePackageType 应用 CFBundleSignature ???? CbundleIdentifier com.install4j.7878-5124-9390-0704.96 循环流化床锅炉 8.7.1.1 CbundleShortVersionString 8.7.1.1 cfbundlegetingfostring 8.7.1.1 CfBundledDevelopmentRegion EN CbundleAllowMixedLocalizations NShighResolutionable i4j.baseDir $APP_PACKAGE// 最小系统版本 10.7.3 i4j.appId 7878-5124-9390-0704 i4j.allowPassthrough i4j.minVersion 1.7 i4j.maxVersion 1.7 i4j.vmIdPrefix JavaVM 主类 com.install4j.runtime.launcher.MacLauncher VMOptionArray