Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/389.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 在Debian中执行updatetool glassfish的问题_Java_Glassfish_Debian - Fatal编程技术网

Java 在Debian中执行updatetool glassfish的问题

Java 在Debian中执行updatetool glassfish的问题,java,glassfish,debian,Java,Glassfish,Debian,我已经安装了glassfish 4,它运行得很好,但几分钟前我尝试执行updatetool,但我遇到了以下错误: ./updatetool: 283: ./updatetool: /home/mazzy/glassfish4/updatetool/bin/../../pkg/python2.4-minimal/bin/python: not found --------------------------------------------------------------- There wa

我已经安装了glassfish 4,它运行得很好,但几分钟前我尝试执行
updatetool
,但我遇到了以下错误:

./updatetool: 283: ./updatetool: /home/mazzy/glassfish4/updatetool/bin/../../pkg/python2.4-minimal/bin/python: not found
---------------------------------------------------------------
There was an error running

/home/mazzy/glassfish4/updatetool/bin/../../pkg/python2.4-minimal/bin/python

You are running on a 64 bit Linux distribution and the 32 bit Linux
compatibility libraries do not appear to be installed. In order to use
the Update Center tools you must install the 32 bit compatibility libraries.

On Ubuntu (and possibly other Debian based systems) please install the
ia32-libs package. On RedHat 4 (and other RPM based systems), you may
need to add multiple 'compat' runtime library packages. Please see the
Update Center Release Notes for more information
---------------------------------------------------------------
我的系统是Debian 7.1.0 Wheezy 64位

你建议做什么?请不要说安装
ia32 libs
软件包,因为我已经尝试过安装它,但它无法安装在我的系统中

编辑

这是我在安装i386体系结构的ia32 libs后遇到的下一个错误:

GlassFish Update Tool does not support running in "it_IT.utf" locale.
Attempting to use English locale.
WX import error.  Verify the WX widgets are in the PYTHONPATH.
The following can be reported to GlassFish Update Tool 2.3.5 Development Team <dev@updatecenter.java.net>.

Traceback (innermost last):
  File "/home/mazzy/glassfish4/updatetool/vendor-packages/updatetool/common/boot.py", line 283, in init_app_locale
    import wx
  File "wx/__init__.py", line 45, in ?
  File "wx/_core.py", line 4, in ?
 ImportError: libgtk-x11-2.0.so.0: impossibile aprire il file oggetto condiviso: File o directory non esistente
GlassFish更新工具不支持在“it\u it.utf”区域设置中运行。
正在尝试使用英语区域设置。
WX导入错误。验证WX小部件是否位于PYTHONPATH中。
可以向GlassFish更新工具2.3.5开发团队报告以下内容。
回溯(最里面的最后一个):
文件“/home/mazzy/glassfish4/updatetool/vendor packages/updatetool/common/boot.py”,第283行,在init_app_语言环境中
导入wx
文件“wx/\uuuuu init\uuuuuu.py”,第45行,在?
文件“wx/_core.py”,第4行,在?
ImportError:libgtk-x11-2.0.so.0:不可能的Apire il文件Oggeto Conditiviso:文件o目录非esistente

我刚刚写了一篇关于在glassfish 4上安装updatetool的参考资料,
我还没有遇到您提到的库(而不是其他库)的问题,所以请随意完成。

在Debian 7中,您需要向dpkg指出能够安装32位库的附加体系结构。使用:

dpkg --add-architecture i386
然后更新存储库缓存并安装指示i386体系结构的所需软件包

aptitude update

aptitude install libgtk2.0-0:i386
对错误消息中指示的每个库执行此操作。根据我的经验:libpangoxft-1.0-0:i386,libidn11:i386,libjpeg62:i386,libsm6:i386,libpangox-1.0-0:i386我有: Linux版本3.10-2-amd64(debian-kernel@lists.debian.org)(gcc版本4.7.3(Debian 4.7.3-6))#1 SMP Debian 3.10.5-1(2013-08-07)


我无法更新任何与“i386”相关的库,因为它是一个测试源,但是!我的Windows上有Glassfish(非常更新),所以我停止Debian上的域,复制/粘贴整个文件夹/模块,然后完成

然后你需要弄清楚为什么
ia32 libs
软件包不会安装在你的系统上,因为缺少它似乎是你的问题。好吧,我部分解决了这个问题。我必须为i386架构安装ia32 libs configure dpkg。现在错误已经改变,问题已经解决:我需要安装libgtk2.0-0:i386