Applies To:
[ Zend Guard 5.0.1 ]
[ MacOS 10.6 ]
Symptom
Once Zend Guard 5.0.1 installs successfully on Mac OS X 10.6, it is possible to launch newly installed Zend Guard from the last installer screen. However, any subsequent attempts to launch Zend Guard from the created showill fail with JAVA exception window.
Technical Details
This problem occurs due to the requirement of Zend Guard GUI to run with JAVA 32bit while the Mac OS X JAVA is set to 64bit by default.
Resolution/Workaround
Using JAVA Preferences
1. Look for JAVA Preferences in the Mac OS X help search and launch it. Help search is located in the top right of the system panel under the magnifying glass icon (near the clock).
2. Drag the 32bit JAVA above the 64bit JAVA in the "JAVA Applications" section (the bottom section).
3. Close JAVA Preferences (if you leave it open it will have no effect on Zend Guard launch.
4. Try to launch Zend Guard.
Using ZendGuard.ini
1. Backup
ZendGuard.ini
under:
/Applications/Zend/Zend Guard - 5.0.1/ZendGuard.app/Contents/MacOS/ZendGuard.ini
2. Edit ZendGuard.ini in a plain text editor.
3. Add -d32 to the top of the file, as shown in the following snippet:
;-vm
;/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/java
-vmargs
-Xdock:icon=../Resources/guard_icon.icns
-XstartOnFirstThread
...
4. Save ZendGuard.ini
5. Try to launch Zend Guard.
Excerpt: How to make Zend Guard 5.0.1 run on Mac OS X 10.6.
Original Post Date: 2010-04-22 18:17:37
Alternative Description:
How to make Zend Guard 5.0.1 run on Mac OS X 10.6
Comments