Problem launching Zend Guard 5.0.1 on Mac OS X 10.6 (Snow Leopard)

Follow

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).

Mac OS X 10.6 JAVA Preferences

Note:
The "JAVA Applet Plugin" section is not relevant and you may leave the JAVA 64bit above the JAVA 32bit.

 

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:

-d32
;-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.

Note:
This great tip about ZendGuard.ini was suggested by one of our Zend Forums community members.

 


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

_____
Tags: guard,Install,Java,MacOS 10.6 and earlier,osx,Zend Guard,oldKB,attachment

Have more questions? Submit a request

Comments

Powered by Zendesk