简体   繁体   中英

Get error on OS X Mavericks when launching java web start app using SWT from Terminal app

I created an java app using SWT and launching from Java Web Start (javaws). I am using the latest Apple Mac OSX Mavericks and the latest 1.7.X jre from Sun for Mac. I am getting an error about Invalid Thread access when creating display object but I have it in the static main method which I thought is the main or first thread. I have the command line option -XstartOnFirstThread in my jnlp but no success in getting the error solved. I read that Oracle may have taken away the option for javaws.

Any ideas what I can do to fix? I spent some long hours last night till early morning looking for something that worked.

Thanks!

Until it's fixed, here's a work-around that'll @ least allow you to open the .jnlp file...

Open Downloads in Finder Select the .jnlp file you want to open Use menu option Open With... Open the file w/ Java Web Start

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM