Установил Fedora 8. При запуске java приложения ругается java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Аварийный останов. В Fedora 7 такого глюка не было, помогите разабраться. java version "1.5.0"
Решено: Fedora 8 java
Модератор: Bizdelnick
-
BlackStar
- Сообщения: 1338
- Статус: We are all Kosh
- ОС: Fedora 10
Re: Решено: Fedora 8 java
Лечится с помощью:
ЗЫ. Как видно это для джавы 1.6, скорее всего пременимо и для 1.5.
Код: Выделить всё
sed -i 's/XINERAMA/FAKEEXTN/g' jdk1.6.0_05/jre/lib/i386/xawt/libmawt.soЗЫ. Как видно это для джавы 1.6, скорее всего пременимо и для 1.5.
LightLang Team
-
haltsys
- Сообщения: 5
- ОС: Mandriva2007
Re: Решено: Fedora 8 java
Не помогает к сожалению
-
BlackStar
- Сообщения: 1338
- Статус: We are all Kosh
- ОС: Fedora 10
-
haltsys
- Сообщения: 5
- ОС: Mandriva2007
Re: Решено: Fedora 8 java
Обновил яву все заработало, спасибо
-
artemius6
- Сообщения: 4
- ОС: Fedora Core 8
Re: Решено: Fedora 8 java
У меня та же проблема: пытаюсь установить Zend studio for Linux, выдает ту же ошибку.
попытался выполнить команду sed. выдал что нет такого файла или директории
Даже не знаю, что мне делать. Зенд мне жизненно необходим - надо работать... Java 1.6 установил. Операционка FC 8. Заранее спасибо.
Код:
[root@localhost artemius]# ./ZendStudio-5_5_0.bin
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...
java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Аварийный останов
попытался выполнить команду sed. выдал что нет такого файла или директории
Код: Выделить всё
[root@localhost artemius]# sed -i 's/XINERAMA/FAKEEXTN/g' jdk1.6.0_05/jre/lib/i386/xawt/libmawt.so
sed: невозможно прочитать jdk1.6.0_05/jre/lib/i386/xawt/libmawt.so: Нет такого файла или каталогаДаже не знаю, что мне делать. Зенд мне жизненно необходим - надо работать... Java 1.6 установил. Операционка FC 8. Заранее спасибо.
-
BlackStar
- Сообщения: 1338
- Статус: We are all Kosh
- ОС: Fedora 10
-
artemius6
- Сообщения: 4
- ОС: Fedora Core 8
Re: Решено: Fedora 8 java
Не помогает.,. Путь указал, вроде выполнил, но когда грузит установщик, опять та же гадость...
Код: Выделить всё
[root@localhost artemius]# sed -i 's/XINERAMA/FAKEEXTN/g' /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/amd64/xawt/libmawt.so-
BlackStar
- Сообщения: 1338
- Статус: We are all Kosh
- ОС: Fedora 10
Re: Решено: Fedora 8 java
А зачем тогда пытаешься патчить /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64 ???
И потом как видно из этого:
[root@localhost artemius]# ./ZendStudio-5_5_0.bin
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...
Зенд имеет в установщике свою собственную JRE которую очевидно и нужно патчить. Скорее всего у инсталлятора имеются опции указывающие какую из установленных ЖРЕ использовать.
LightLang Team
-
artemius6
- Сообщения: 4
- ОС: Fedora Core 8
Re: Решено: Fedora 8 java
Хм... У меня есть три предположения. Первое - я очень глупый, и во что мне верить не хочется. Второе - я что-то не так делаю. Ну, или третье - фигня творится с самим зендом...
Код:
[root@localhost artemius]# ./ZendStudio-5_5_0.bin -f ./ZendStudio-5_5_0.bin
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...
Command Line Arguments contain illegal values.
Usage: ZendStudio-5_5_0 [-f <path_to_installer_properties_file> | -options]
(to execute the installer)
where options include:
-?
show this help text
-i [awt | swing | console | silent]
specify the user interface mode for the installer
-D<name>=<value>
specify installer properties
notes:
1. the path to the installer properties file may be either absolute,
or relative to the directory in which the installer resides.
2. if an installer properties file is specified and exists, all other
command line options will be ignored.
3. if a properties file named either 'installer.properties' or
<NameOfInstaller>.properties resides in the same directory as the
installer, it will automatically be used, overriding all other command
line options, unless the '-f' option is used to point to another valid
properties file.
4. if an installer properties file is specified but does not exist, the
default properties file, if present, will be used. Otherwise, any
supplied command line options will be used, or if no additional
options were specified, the installer will be run using the default
settings.
[root@localhost artemius]# ./ZendStudio-5_5_0.bin [-f ./ZendStudio-5_5_0.bin]
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...
java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Аварийный останов
-
BlackStar
- Сообщения: 1338
- Статус: We are all Kosh
- ОС: Fedora 10
Re: Решено: Fedora 8 java
Вот объясни, чего ты пытался добиться командой: ./ZendStudio-5_5_0.bin [-f ./ZendStudio-5_5_0.bin] ??
Вероятно вот такой вариант должен заработать:
./ZendStudio-5_5_0.bin -i console
Вероятно вот такой вариант должен заработать:
./ZendStudio-5_5_0.bin -i console
LightLang Team
-
artemius6
- Сообщения: 4
- ОС: Fedora Core 8
Re: Решено: Fedora 8 java
=) Другие варианты не работали. Попробовал, дело продвинулось не шибко дальше:
А в документации ентой как раз и написано это -f... И почему эти <цензура>нехорошие люди</цензура> не положили rpm файл... Даже всемогущий гугл не дает ни сорса, ни rpm'а.
Код: Выделить всё
Launching installer...
Preparing CONSOLE Mode Installation...
=======================================================
Installer User Interface Mode Not Supported
The installer cannot run in this mode. Please review the installer's documentation to determine how to run this installer.
=======================================================А в документации ентой как раз и написано это -f... И почему эти <цензура>нехорошие люди</цензура> не положили rpm файл... Даже всемогущий гугл не дает ни сорса, ни rpm'а.