文档章节

ubuntu 下安装 zend guard 经验

zxlin25
 zxlin25
发布于 2016/06/18 11:25
字数 418
阅读 26
收藏 0

 

 

Zend Studio and Zend Guard Installation Problems on GNU/Linux Systems

 

 
Article ID: 13
Last updated: 13 Apr, 2009
Views: 2728

This article applies to:

[ Zend Studio for Eclipse 6.x, Zend Studio 5.x, Zend Guard 5.x ]
[ Linux ]


Symptom

Two types of problems have been reported:

  1. Installation is successful with normal user account but fails when run as superuser (root).
  2. Installation fails resulting an a JRE error.

 

Error messages

Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Stack Trace:
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.

 

Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
exec: 2481: /tmp/install.dir.5489/Linux/resource/jre/bin/java: not found

 

Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
No protocol specified
'SWING' UI not supported by VM. Reverting to AWT.
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Stack Trace:
java.lang.NoClassDefFoundError

Technical Details

 

  1. The Macrovision InstallAnywhere installer can't find the display to run on, due to current environment not being transferred into the superuser session. Basically, same commands should produce the same effect on any system. In reality, this is not the case -- many nuances vary from distribution to distribution.
  2. The Macrovision InstallAnywhere installer has compatibility issues, resulting in its inability to find/access the packaged JRE, or to run it properly.

Resolution / Workaround

Fortunately, the problems are quite easy to workaround:

  1. Just set the DISPLAY environment variable for the installer using one of these commands:
    • # DISPLAY=:0 ./ZendStudio5_5_1.bin
    • $ sudo export DISPLAY=:0; ./ZendStudio5_5_1.bin
  2. Instruct the installer to run in GUI-less (console) mode:
    • # ./ZendStudio5_5_1.bin -i console
  3. Instruct the installer to use system's JRE. It is definitely accessible and is compatible with the distribution:
    • # ./ZendStudio5_5_1.bin LAX_VM /usr/bin/java
Note:
/usr/bin/java is the correct path in most distributions, however, your mileage may vary. To find the path on your system:
# which java

 

本文转载自:http://zxlin25.iteye.com/blog/1046164

zxlin25
粉丝 1
博文 79
码字总数 3054
作品 0
衡阳
后端工程师
私信 提问
PHP5.3安装Zend Guard Loader图文教程

PHP5.3安装Zend Guard Loader图文教程 PHP 5.3.X 开始 Zend Optimizer 正式被 Zend Guard Loader 取代了。安装方法有所不同,以下是安装 Zend Guard Loader的具体方法 Zend Optimizer/3.3.3...

as007012012
2017/03/02
0
0
PHP5.3安装Zend Guard Loader代替Zend Optimizer

Zend Optimizer/3.3.3 解密加代码优化,提高PHP应用程序的执行速度,显著降低服务器的CPU负载。 Zend Guard Loader/5.5.0/6.0 解密加代码优化,提高PHP应用程序的执行速度,显著降低服务器的C...

Junn
2014/06/16
10.6K
4
在Linux系统中为PHP5.3安装Zend Guard Loader

从PHP5.3开始如果要支持ZendGuard加密的PHP代码,必须安装Zend Guard Loader,老的zend optimizer将不被支持。 本文介绍如何在Linux系统中为PHP5.3安装Zend Guard Loader支持的过程。 操作系...

武当剑客
2014/12/12
101
0
linux下php5.4安装Zend Guard Loader扩展

从PHP5.3开始如果要支持ZendGuard加密的PHP代码,必须安装Zend Guard Loader,老的zend optimizer将不被支持。 1.Zend Guard Loader安装 [root@showip opt]# tar zxf ZendGuardLoader-70429...

304076020
2015/01/14
0
0
win 2008 安装php的Zend Guard Loader安装

结果提示错误 Invalid library (maybe not a PHP library) 'ZendLoader.dll' 汗,貌似外文网站也没找到办法,不知道是不是我没搜索对关键字。 我的安装环境是 windows 2008 +iis7 +php5.3.1...

十一文
2012/04/28
4.5K
4

没有更多内容

加载失败,请刷新页面

加载更多

postman批量测试

postman批量调用: 先单个调用,成功了 再save为collection 再点击三角形,点击run 设置1000次,run就可以 见《postman批量测试.docx》

Danni3
32分钟前
8
0
js 对象操作 js 对象和对象赋值 去除关联性 对象原型操作 把一个对象A赋值给另一个对象B 并且对象B 修改 不会影响 A对象

当我们在项目需要 复制一个对象到另一个对象并且 被复制的对象不能受复制后的对象的影响。 我先总结下 我们哪些方法可以复制对象 // 直接赋值var obj1 = { a: 1 };var obj2 = obj1;...

xiaogg
33分钟前
7
0
Go微服务全链路跟踪详解

在微服务架构中,调用链是漫长而复杂的,要了解其中的每个环节及其性能,你需要全链路跟踪。 它的原理很简单,你可以在每个请求开始时生成一个唯一的ID,并将其传递到整个调用链。 该ID称为C...

倚天码农
47分钟前
6
0
QML笔记-对QML中信号与槽的基本认识

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 本文链接:https://blog.csdn.net/qq78442761/article/details/90753986 目录 基本概念 演示...

shzwork
54分钟前
5
0
SSH安全加强两步走

从 OpenSSH 6.2 开始已经支持 SSH 多因素认证,本文就来讲讲如何在 OpenSSH 下启用该特性。 OpenSSH 6.2 以后的版本多了一个配置项 AuthenticationMethods。该配置项可以让 OpenSSH 同时指定...

xiangyunyan
今天
6
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部