Решено: Fedora 8 java

Для новичков как вообще в Linux, так и в конкретной теме, к которой относится вопрос.

Модератор: Bizdelnick

haltsys
Сообщения: 5
ОС: Mandriva2007

Решено: Fedora 8 java

Сообщение haltsys »

Установил Fedora 8. При запуске java приложения ругается java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Аварийный останов. В Fedora 7 такого глюка не было, помогите разабраться. java version "1.5.0"
Спасибо сказали:
Аватара пользователя
BlackStar
Сообщения: 1338
Статус: We are all Kosh
ОС: Fedora 10

Re: Решено: Fedora 8 java

Сообщение BlackStar »

Лечится с помощью:

Код: Выделить всё

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

Сообщение haltsys »

Не помогает к сожалению
Спасибо сказали:
Аватара пользователя
BlackStar
Сообщения: 1338
Статус: We are all Kosh
ОС: Fedora 10

Re: Решено: Fedora 8 java

Сообщение BlackStar »

Поставь джаву 1.6, в чем проблема?
LightLang Team
Спасибо сказали:
haltsys
Сообщения: 5
ОС: Mandriva2007

Re: Решено: Fedora 8 java

Сообщение haltsys »

Обновил яву все заработало, спасибо
Спасибо сказали:
artemius6
Сообщения: 4
ОС: Fedora Core 8

Re: Решено: Fedora 8 java

Сообщение artemius6 »

У меня та же проблема: пытаюсь установить Zend studio for Linux, выдает ту же ошибку.

Код:

[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

Re: Решено: Fedora 8 java

Сообщение BlackStar »

Вместо jdk1.6.0_05 укажи полный путь к установленному jre
LightLang Team
Спасибо сказали:
artemius6
Сообщения: 4
ОС: Fedora Core 8

Re: Решено: Fedora 8 java

Сообщение artemius6 »

Не помогает.,. Путь указал, вроде выполнил, но когда грузит установщик, опять та же гадость...

Код: Выделить всё

[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

Сообщение BlackStar »

artemius6 писал(а):
25.11.2007 12:49
Java 1.6 установил.

А зачем тогда пытаешься патчить /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64 ??? :wacko:
И потом как видно из этого:

[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

Сообщение artemius6 »

BlackStar писал(а):
26.11.2007 23:09
Зенд имеет в установщике свою собственную JRE которую очевидно и нужно патчить. Скорее всего у инсталлятора имеются опции указывающие какую из установленных ЖРЕ использовать.

Хм... У меня есть три предположения. Первое - я очень глупый, и во что мне верить не хочется. Второе - я что-то не так делаю. Ну, или третье - фигня творится с самим зендом...

Код:

[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

Сообщение BlackStar »

Вот объясни, чего ты пытался добиться командой: ./ZendStudio-5_5_0.bin [-f ./ZendStudio-5_5_0.bin] ??
Вероятно вот такой вариант должен заработать:
./ZendStudio-5_5_0.bin -i console
LightLang Team
Спасибо сказали:
artemius6
Сообщения: 4
ОС: Fedora Core 8

Re: Решено: Fedora 8 java

Сообщение artemius6 »

=) Другие варианты не работали. Попробовал, дело продвинулось не шибко дальше:

Код: Выделить всё

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'а.
Спасибо сказали: