Doesn't start under MacOS
| User, date | Message |
|---|---|
|
Written by julian
5 years ago Category: jHeidi (discontinued) 3 posts since Mon, 20 Oct 08 |
Hi, jHeidi Alpha 3 Update 4 doesn't start under MacOS 10.5.5: The console says Exception in thread "main" java.lang.NoClassDefFoundError: com/rendion/ajl/AjlScript Hope you can find the bug (or tell me what I'm doing wrong) because I think this is going to be a great program!!! :-) Regards, Julian |
|
Written by servertude
5 years ago 39 posts since Wed, 27 Feb 08 |
Hi did you download the mac OSX installer or the universal binary? |
|
Written by julian
5 years ago 3 posts since Mon, 20 Oct 08 |
Well, I tried both :-) I think the "installer" doesn't really install something, does it? It's just an application (after unpacking I just get a folder containing "jHeidi.app") and if I start it (for example from the Applications folder) some icon appears in the dock but dissapears at the same time again. When using the universal binary I get the error mentioned above... |
|
Written by servertude
5 years ago 39 posts since Wed, 27 Feb 08 |
Julian, I just tested both on MAC OSX 10.5.2 and had no problems. The installer is in the OSX App format and is a simple archive however because of its format it runs automatically without having to run a script. I do not have access to 10.5.5 but I would be surprised if there was much of a difference unless the Java Application Stub in 10.5.5 is incompatible. If you downloaded jHeidi on the day of this release, you may need to download again as there were some files out of date on the day it was released which were fixed shortly after. Either way the universal binary should work. Please give me the command you are running to start jheidi and paste in any output. |
|
Written by julian
5 years ago 3 posts since Mon, 20 Oct 08 |
I downloaded it again while writing my last post and it still didn't work. I used the jheidi-osx script to start it (doubleclick on it) which does not work: A console opens which says:
But what I just tested: When copying the content of this jheidi-osx script and inserting it into the console, it works... :? The console says in this case:
Do you have installed the Java for Mac OS X 10.5 Update 1 (more info: http://support.apple.com/kb/HT1856). Perhaps this causes some problems... |
|
Written by servertude
5 years ago 39 posts since Wed, 27 Feb 08 |
Julian, The jheidi-osx script is meant to be run from the command line not double clicked since its not an OSX shortcut. If you want to double click to run, then install the .app and double click on it .app and it will startup using the JavaApplicationStub which is required to graphically run a java .app on OSX. Glad you got it working! Still puzzled why your the jHeidi.app didnt work tho. - Bill |
|
Written by servertude
5 years ago 39 posts since Wed, 27 Feb 08 |
The correct way to launch the script is to chmod 777 jheidi-osx And then execute it like so ./jheidi-osx - Bill |
|
Written by servertude
5 years ago 39 posts since Wed, 27 Feb 08 |
Julian, Finally tested the install on OSX 10.5.5 - and had no problems with running the jHeidi.app. Using safari the app self extracts and when you click on the icon it will start. With firefox save to your desktop, double click the archive and it will self extract. - Bill :D |
|
Written by chorlya
5 years ago 23 posts since Fri, 11 May 07 |
Bill, I'm also struggling with the immediately disappearing icon problem when trying to start jHeidi.app in my /Applications folder. After app failed to start, this is what I get in Console: 11/3/08 13:25:18 com.apple.launchd[158] ([0x0-0x3bd3bd].com.rendion.ajl.AjlScript.1[45882]) posix_spawnp("/Applications/jHeidi.app/Contents/MacOS/JavaApplicationStub", ...): Permission denied I downloaded OS X Installer several hours ago and I'm also on 10.5.5. Let me know if you need me to try something on my system. Thanks |
|
Written by servertude
5 years ago 39 posts since Wed, 27 Feb 08 |
On my tests on 10.5.5 this has not happened. Seems like chmod-ing the JavaApplicationStub might be a fix. chmod 777 JavaApplicationStub - Let me know if that fixes you. |
|
Written by chorlya
5 years ago 23 posts since Fri, 11 May 07 |
Yep, that fixed it. Thanks :) |
|
Written by servertude
5 years ago 39 posts since Wed, 27 Feb 08 |
I have been doing the OSX and Linux builds on windows, which I believe is the cause for the loss of the execute bit on the JavaApplicationStub and the jheidi-osx script and the jheidi-bin script on linux. I will start doing the builds on linux and this should go away in the next release. Thanks for reporting the precise error. :D |
|
Please login to leave a reply, or register at first. |