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 

18 comments:

for ict 99 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

Bella said...

Thanks for sharing nice information with us.
Paperssolution
studyhawks
pay someone to do assignment
write my essay
eduhawks
topgradepapers
Assignment Help
Aiwah.pk

Olivia Crew said...

A very high level post with a knowledgeable information .thanks you for giving me such a nice information. If you need any college level Assignment Help at reliable quality with better work. Kindly visit livewebtutors website we providing best assignment help services in Australia, USA, UK, UAE, and Canada etc.
Read more now :- Business Assignment Help

georgethomas said...

I’m pursuing my Post Graduate and I have taken help for my assignment for several from GoAssignmentHelp. I’m very much happy with their services and I recommend all the students to take assignment help perth from GoAssignmentHelp.

Tillock Watson said...

'I'm highly impressed by the piece of thoughts you have shared on this portal. all the best
connect us on Assignment Help can shed your burden of assignments with a return of qualitative assignments.
Online Assignment Help

James Taylor said...

We are giving you the most wonderful true in your feelings quotes to remind you that true love does exist. May you find your true love and if you have found it already, may you keep them by your side for as long as you can.

bluetreeweb 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 Bluetreeweb https://bluetreeweb.com/

josee said...

My friend promised to buy me a cup of coffee for referring him to your site. Thank you for coffee. Kindly keep updating us on new articles. Looking for water heaters reviews, best brands, and models? then you have landed at the right place. Heating water has its struggles especially if you are using the wrong heaters. Visit Best Hot Water Heater for more.

My Assignment Help Online said...

My Assignment help strive to meet the need of customized assignment help of students from Universities across Australia. With our team of enthusiastic and unwavering writing experts, our aim is to help every student improve the academic grades and submit optimum quality assignments that are 100% unique meeting the University guidelines. Connect with us now to understand how it works and start the unique experience of customised writing help.

mhesh said...

Thank you for bringing to a halt my long search topic. I really benefited from your content. If you are experiencing trouble striking a balance between your busy academic life and handling your online classes, you can get help from a professional who will take online classes on your behalf. It doesn’t matter the kind of help you need, whether it is passing your exam, finishing your assignments or even the entire classwork, you can get help here at Online Class Help .

Jenifer Discota said...

Worried for ansys assignment task which needs to be submitted within deadline? Thinking about hiring someone who can complete it? Abc assignment help can help you with ansys assignment help. ABC Assignment Help is one of the most recognizable assignment help service providers in the industry who is known for assisting numbers of students in their homework and assignments.

Post a Comment