Wednesday, September 15, 2010

Java application launched from PPC or bad stub

If you see this in your OSX Console log after trying to launch a Java application, the problem is obvious - you've been given an application with a Java stub launcher that cannot be run on your version of OSX.

The solution is a little less obvious.

$cp /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub 
 /Applications/<APPNAME>.app/Contents/MacOS


Some nasty log messages from trying to log an install4j based app that suffered this problem

Notice 2010-09-15 11:29:16 PM [0x0-0x80080].com.install4j.5517-2803-0637-4585.7502[2585] [JavaAppLauncher Warning] Java application launched from PPC or bad stub. Relaunching in 32-bit, and tagging sub-processes to prefer 32-bit with $JAVA_ARCH=i386. 
Notice 2010-09-15 11:29:16 PM [0x0-0x80080].com.install4j.5517-2803-0637-4585.7502[2585] [JavaAppLauncher Warning] Java application launched from PPC or bad stub. Relaunching in 32-bit, and tagging sub-processes to prefer 32-bit with $JAVA_ARCH=i386. 
Notice 2010-09-15 11:29:16 PM [0x0-0x80080].com.install4j.5517-2803-0637-4585.7502[2585] [JavaAppLauncher Error] This process is [i386] and was re-exec'd from [i386], but for some reason we are trying re-exec to []. 
Notice 2010-09-15 11:29:16 PM [0x0-0x80080].com.install4j.5517-2803-0637-4585.7502[2585] [JavaAppLauncher Error] unable to find a version of Java to launch 
Notice 2010-09-15 11:29:16 PM [0x0-0x80080].com.install4j.5517-2803-0637-4585.7502[2585] [JavaAppLauncher Error] unable to find a version of Java to launch 
Warning 2010-09-15 11:29:16 PM com.apple.launchd[1556] ([0x0-0x80080].com.install4j.5517-2803-0637-4585.7502[2585]) Exited with exit code: 1 

8 comments:

for IT the said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training in India . Nowadays Java has tons of job opportunities on various vertical industry.

Amy Wong said...

today damn all day stay on this site fancy casino slots There are so many cool game machines and all sorts of other gambling games I will say one thing to have fun here

Belago said...

Если вы ищете rgb контроллер то я знаю где он может быть можете заглянуть в Ekodio

Myassignmenthelp.com said...

Thank you for sharing this informative post.MyAssignmenthelp.com is giving assignment help to students.we are already trusted by thousands of students who struggle to write their academic papers and also by those students who simply want case studies on business law to save their time and make life easy.Are you on the lookout for flawless business law case study help in Canada? This blog will greet you with reliable insights. A case study requires investigating a specific issue of the business law case study, examining the alternative solutions, and proposing the most effective solution by using suitable supporting evidence.

rickypauls said...

Assignment Help by knowledgeable and experienced writers work like magic. When you have doubts about your project writing or anything, talk to experts of greatassignmenthelp Get an instant and quick help at reasonable price.
Assignment Help Online
Online Assignment Help
Assignment Help Online Services
Assignment Helper
Assignment Assistance
Assignment Help Experts
Online Assignment Help Services

garminconnectexpress said...


Wanneer u de Garmin Express op een van uw Windows downloadt, d.w.z. op Windows 10, 8 of 7, gaat u over een blunder. Hier is het antwoord voor die blunder. Ervaar de middelen en krijg een momentarrangement.
Garmin Express
garmin connect downloaden
garmin connect problemen

Max Willor said...

A special thanks to My Assignment Help for providing an exceptional assignment within a short period of time. Your work is really amazing. Hope you reach heights in the future.You can email us at cs@Myassignmenthelpau.Com or Phone Number: +61-2-8005-8227

Olivia Crew said...

Excellent information Providing by your Article, thank you for taking the time to share with us such a nice article. Amazing insight you have on this, it's nice to find a website that details so much information about different artists. Kindly visit livewebtutors website we providing best assignment help services in Australia.
Read more now :- My Assignment Help

Post a Comment