-
-
Notifications
You must be signed in to change notification settings - Fork 7k
1.6.5 won't launch on Yosemite #3365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
No, java is bundled with the IDE, you don't need to install it. Which version of macosx is? |
10.10.3 |
Have you tried downloading it again? Can you share a screenshot? |
it shows the splashscreen and then nothing happens. It quits apparently. I get the error i shared before in Console.log I downloaded 1.6.5 and several others. Versions 1.5.x work and 1.6.x dont |
Hi, I have the same issue. version 1.6.3 starts normally, but anything newer does not. In regards the screenshot. It same as @ezjones mentioned. Only the splash screen, quits, when it shows |
@tomasinouk do you get the same error message as @ezjones ? |
I'm getting the same symptoms and error in console as well using IDE 1.6.x. 2015-08-06 9:49:35.074 PM com.apple.xpc.launchd[1]: (cc.arduino.Arduino.5428[1287]) Service exited with abnormal code: 255 |
Have you tried 1.6.5-r3 which contains a mac specific fix? |
@ffissore yes, I have tried that version and the nightly build, same result. I had to reinstall 1.5.x as it's currently working fine on my machine. |
I'm out of options then. Any mac dev is welcome to give a hand |
is there a way to launch it with more debug output? |
Edit Info.plist, add a JVMDebug param so to make it end like so
Run from command line |
By process of elimination (tossing things out of my sketches folder until it launched) in my case it seems to be caused by TechWillSaveUs Gamer plugins in the tools sub folder, I had: ~/Documents/Arduino/tools This is the crash I was getting in the log. 1.6.5rc on Yosemite 10.10.4: |
Yep, remove them, they are not compatible with 1.6.x |
BTW external tools are not related with the issue reported by @ezjones : his error looks as thrown by macosx launcher |
OK - but if I go back to launching from finder rather than terminal I can still reproduce the original error in the console log when these incompatible plugins are there.. com.apple.xpc.launchd[1]: (cc.arduino.Arduino.524864[986]) Service exited with abnormal code: 255 Whereas with 1.5.8 launches OK (and the external tools work) |
so you're saying this obscure error message is actually a consequence of having incompatible tools ? |
Well it was for me
|
@ezjones @tomasinouk @jtuyen can you please verify you don't have custom tools in your SKETCHBOOK/tools folder? @whoopy the IDE API changed about an year ago |
I removed TechWillSaveUs Gamer tools and now it works! @whoopy was right |
🎱 |
@ffissore I removed whole folder Hopefully will be able to do it in few hours |
@tomasinouk start it from a terminal: you'll have more chances to see some error message like those above |
sorry for delay, removed all Arduino folders. (had custom folder for sketches, in Dropbox folder, which have been used instead of default) Run version 1.6.3, which works. It started and used default sketch folder. starting 1.6.5-r3 produces this 2015-08-19 15:34:57.328 Arduino[69194:1944817] Loading Application 'Arduino'
2015-08-19 15:34:57.329 Arduino[69194:1944817] Working Directory: '/Users/OSXuser'
2015-08-19 15:34:57.329 Arduino[69194:1944817] Java Runtime Path (relative): '/Users/OSXuser/Downloads/Arduino2.app/Contents/PlugIns/jdk1.8.0_45.jdk'
2015-08-19 15:34:57.329 Arduino[69194:1944817] Java Runtime Dylib Path: '/Users/OSXuser/Downloads/Arduino2.app/Contents/PlugIns/jdk1.8.0_45.jdk/Contents/Home/jre/lib/jli/libjli.dylib'
2015-08-19 15:34:57.330 Arduino[69194:1944817] Command line passed to application:
2015-08-19 15:34:57.330 Arduino[69194:1944817] Arg 0: '/Users/OSXuser/Downloads/Arduino2.app/Contents/MacOS/Arduino'
2015-08-19 15:34:57.330 Arduino[69194:1944817] Arg 1: '-Djava.class.path=/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/Classes:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/antlr.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/apple.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/arduino-core.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/bcpg-jdk15on-152.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/bcprov-jdk15on-152.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/commons-codec-1.7.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/commons-compress-1.8.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/commons-exec-1.1.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/commons-httpclient-3.1.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/commons-lang3-3.3.2.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/commons-logging-1.0.4.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/ecj.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/guava-18.0.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/jackson-annotations-2.2.3.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/jackson-core-2.2.3.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/jackson-databind-2.2.3.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/jackson-module-mrbean-2.2.3.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/java-semver-0.8.0.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/jmdns-3.4.1.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/jsch-0.1.50.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/jssc-2.8.0.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/pde.jar:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/rsyntaxtextarea-2.5.6.1+arduino.jar'
2015-08-19 15:34:57.331 Arduino[69194:1944817] Arg 2: '-Djava.library.path=/Users/OSXuser/Downloads/Arduino2.app/Contents/MacOS'
2015-08-19 15:34:57.331 Arduino[69194:1944817] Arg 3: '-DLibraryDirectory=/Users/OSXuser/Library'
2015-08-19 15:34:57.331 Arduino[69194:1944817] Arg 4: '-DDocumentsDirectory=/Users/OSXuser/Documents'
2015-08-19 15:34:57.331 Arduino[69194:1944817] Arg 5: '-DApplicationSupportDirectory=/Users/OSXuser/Library/Application Support'
2015-08-19 15:34:57.331 Arduino[69194:1944817] Arg 6: '-DCachesDirectory=/Users/OSXuser/Library/Caches'
2015-08-19 15:34:57.331 Arduino[69194:1944817] Arg 7: '-DSandboxEnabled=true'
2015-08-19 15:34:57.331 Arduino[69194:1944817] Arg 8: '-Dapple.awt.application.name=Arduino'
2015-08-19 15:34:57.332 Arduino[69194:1944817] Arg 9: '-Dapple.laf.useScreenMenuBar=true'
2015-08-19 15:34:57.332 Arduino[69194:1944817] Arg 10: '-Dcom.apple.macos.use-file-dialog-packages=true'
2015-08-19 15:34:57.332 Arduino[69194:1944817] Arg 11: '-Dcom.apple.smallTabs=true'
2015-08-19 15:34:57.332 Arduino[69194:1944817] Arg 12: '-Dcom.apple.macos.useScreenMenuBar=true'
2015-08-19 15:34:57.332 Arduino[69194:1944817] Arg 13: '-Xdock:name=Arduino'
2015-08-19 15:34:57.332 Arduino[69194:1944817] Arg 14: '-Dcom.apple.mrj.application.apple.menu.about.name=Arduino'
2015-08-19 15:34:57.332 Arduino[69194:1944817] Arg 15: '-Dfile.encoding=UTF-8'
2015-08-19 15:34:57.332 Arduino[69194:1944817] Arg 16: '-Xms128M'
2015-08-19 15:34:57.333 Arduino[69194:1944817] Arg 17: '-Xmx512M'
2015-08-19 15:34:57.333 Arduino[69194:1944817] Arg 18: '-splash:/Users/OSXuser/Downloads/Arduino2.app/Contents/Java/lib/splash.png'
2015-08-19 15:34:57.333 Arduino[69194:1944817] Arg 19: 'processing.app.Base'
java.lang.VerifyError: class org.bouncycastle.asn1.ASN1Primitive overrides final method equals.(Ljava/lang/Object;)Z
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.bouncycastle.openpgp.PGPKeyRing.readSignaturesAndTrust(Unknown Source)
at org.bouncycastle.openpgp.PGPKeyRing.readUserIDs(Unknown Source)
at org.bouncycastle.openpgp.PGPPublicKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
at org.bouncycastle.openpgp.PGPPublicKeyRingCollection.<init>(Unknown Source)
at cc.arduino.contributions.GPGDetachedSignatureVerifier.readPublicKey(GPGDetachedSignatureVerifier.java:96)
at cc.arduino.contributions.GPGDetachedSignatureVerifier.readPublicKey(GPGDetachedSignatureVerifier.java:89)
at cc.arduino.contributions.GPGDetachedSignatureVerifier.verify(GPGDetachedSignatureVerifier.java:53)
at cc.arduino.contributions.packages.ContributionsIndexer.isSigned(ContributionsIndexer.java:169)
at cc.arduino.contributions.packages.ContributionsIndexer.parseIndex(ContributionsIndexer.java:82)
at processing.app.BaseNoGui.initPackages(BaseNoGui.java:628)
at processing.app.Base.<init>(Base.java:299)
at processing.app.Base.guardedMain(Base.java:226)
at processing.app.Base.main(Base.java:137) hope that helps |
after bit of googling:
There is a mismatch in versions. So I copy new version and backup old version
Now Arduino IDE starts. Not sure, if this brakes something else. But that was my problem. |
Ah thank you. Indeed the cause of the error could only be a mismatch in that lib version. Your fix is correct: that was the source of the problem. I'll try to find a way to keep the JVM from loading system libs. Thank you! |
FTR: that |
I tried that at first |
0c2498a contains a fix to this external jars loading issue. Fix will be available with next hourly build http://www.arduino.cc/en/Main/Software#hourly |
Hey just letting you know this error popped up again for me. The fix was similar to what @tomasinouk mentioned ( copy the arduino version of
|
I get this error in Console.log
6/18/15 8:47:53.590 PM com.apple.xpc.launchd[1]: (cc.arduino.Arduino.293972[1543]) Service exited with abnormal code: 255
1.5 works on the same machine.
Is this Java related? I have the latest.
The text was updated successfully, but these errors were encountered: