Re: Running Java App fails...
Gudjon I. Gudjonsson wrote: It works on my computer I downloaded $JXv3.2deploy.tar.bz2 Ah! I downloaded the linux version (suggested from the website) called JXv3.2_install_linux.bin. $tar cjf JXv3.2deploy.tar.bz2 $cd jxplorer $sh jxplorer.sh And the program appears but I have not got a clue what it does :) With the 'deploy' version it does it also for me ;-) And its a nice graphical LDAP Frontend. I am using /usr/lib/jvm/java-6-sun/jre/bin/java It runs also with the etch version 'sun-java5'. Thanx for downloading, testing and solving the issue! Regards Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running Java App fails...
José Alburquerque wrote: Thomas Besser wrote: I think that it has something to do how the java binary was compiled (32bit!?) Perhaps you have more packages than needed installed (I'm referring to the ia32 packages). I don't know if you need them, but with all the suggestions given and the following packages installed, Java works fine on this system: sun-java6-bin sun-java6-demo sun-java6-doc sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-source I develop in Java so I have a few, but I think with *-bin, *-fonts and *-jre things should work fine. :-) You are right. I kicked the ia32-sun-java5 deb package and it still runs . Thanx... Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running Java App fails...
* José Alburquerque [EMAIL PROTECTED] [2007:07:02:11:53:47-0400] scribed: snip / Perhaps you have more packages than needed installed (I'm referring to the ia32 packages). I don't know if you need them, but with all the suggestions given and the following packages installed, Java works fine on this system: sun-java6-bin sun-java6-demo sun-java6-doc sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-source I develop in Java so I have a few, but I think with *-bin, *-fonts and *-jre things should work fine. :-) -Jose I am on straight etch. What need I install? # COLUMNS=120 dpkg -l '*sun*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++--- un jikes-sunnone (no description available) un libapache-mod-tsunaminone (no description available) un libsundials-serial none (no description available) un libsundials-serial-dev none (no description available) un libsundials-serial-doc none (no description available) un libsundials-serial0 none (no description available) un opensync-plugin-sunbird none (no description available) un sun-j2re1.4 none (no description available) un sun-java5-jrenone (no description available) un sunbird none (no description available) un sunclock none (no description available) un sunclock-mapsnone (no description available) un wmsunnone (no description available) # sudo aptitude install sun-java5-jre Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Building tag database... Done No candidate version found for sun-java5-jre No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done -- Best Regards, helices - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . -- signature.asc Description: Digital signature
Re: Running Java App fails...
On Tue, Jul 03, 2007 at 08:35:09AM -0500, helices wrote: I am on straight etch. What need I install? # COLUMNS=120 dpkg -l '*sun*' [...] un sun-j2re1.4 none (no description available) un sun-java5-jrenone (no description available) [...] Ancient # sudo aptitude install sun-java5-jre I blame aptitude (I'd rather use dselect if I was forced to :), update you cache and you should be seeing the following packages: un ia32-sun-java5 none (no description available) un ia32-sun-java5 none (no description available) ii sun-java5-bin 1.5.0-10-3 Sun Java(TM) Runtime Environment (JRE) ii sun-java5-demo 1.5.0-10-3 Sun Java(TM) Development Kit (JDK) 5.0 un sun-java5-doc none (no description available) un sun-java5-font none (no description available) ii sun-java5-jdk 1.5.0-10-3 Sun Java(TM) Development Kit (JDK) 5.0 ii sun-java5-jre 1.5.0-10-3 Sun Java(TM) Runtime Environment (JRE) un sun-java5-plug none (no description available) un sun-java5-sour none (no description available) (also see http://packages.debian.org/cgi-bin/search_packages.pl?keywords=java5searchon=namessubword=1version=stablerelease=all ) -- When you do things right, people won't be sure you've done anything at all. Daniel Tryba -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running Java App fails...
* Daniel Tryba [EMAIL PROTECTED] [2007:07:03:16:05:29+0200] scribed: On Tue, Jul 03, 2007 at 08:35:09AM -0500, helices wrote: I am on straight etch. What need I install? # COLUMNS=120 dpkg -l '*sun*' [...] un sun-j2re1.4 none (no description available) un sun-java5-jrenone (no description available) [...] Ancient # sudo aptitude install sun-java5-jre I blame aptitude (I'd rather use dselect if I was forced to :), update you cache and you should be seeing the following packages: un ia32-sun-java5 none (no description available) un ia32-sun-java5 none (no description available) ii sun-java5-bin 1.5.0-10-3 Sun Java(TM) Runtime Environment (JRE) ii sun-java5-demo 1.5.0-10-3 Sun Java(TM) Development Kit (JDK) 5.0 un sun-java5-doc none (no description available) un sun-java5-font none (no description available) ii sun-java5-jdk 1.5.0-10-3 Sun Java(TM) Development Kit (JDK) 5.0 ii sun-java5-jre 1.5.0-10-3 Sun Java(TM) Runtime Environment (JRE) un sun-java5-plug none (no description available) un sun-java5-sour none (no description available) (also see http://packages.debian.org/cgi-bin/search_packages.pl?keywords=java5searchon=namessubword=1version=stablerelease=all ) My bad ; I forgot to add non-free to sources.list ... Thank you. -- Best Regards, helices - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . -- signature.asc Description: Digital signature
Running Java App fails...
Hi, I'm recently switched my desktop computer to amd64 architecture (intel macbook) and want to use JXplorer (LDAP Browser in Java, http://www.jxplorer.org) furthermore. Have installed all sun-java5 packages also ia32-sun-java5 and ia32-libs and so on, but installation fails: sissymobil:/home/software/linux/JXplorer# sh JXv3.2_install_linux.bin Preparing to install... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... nawk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory /bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory Launching installer... grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory /usr/lib/jvm/java-1.5.0-sun/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory Any hints what can be done or where is the problem? Regards Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running Java App fails...
Am Montag 02 Juli 2007 schrieb Thomas Besser: Hi, I'm recently switched my desktop computer to amd64 architecture (intel macbook) and want to use JXplorer (LDAP Browser in Java, http://www.jxplorer.org) furthermore. Have installed all sun-java5 packages also ia32-sun-java5 and ia32-libs and so on, but installation fails: sissymobil:/home/software/linux/JXplorer# sh JXv3.2_install_linux.bin Preparing to install... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... nawk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory /bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory Launching installer... grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory /usr/lib/jvm/java-1.5.0-sun/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory Any hints what can be done or where is the problem? Regards Thomas There is a bug with the paths, as the newest java is not installed, where the applications do expect it. Solution (quick and dirty): create a symbolic link: ln -s /usr/java /usr/lib/jvm/java-6-sun-1.6.0.00/ (I have sun-java-6 installed) Maybe it is worth a bugreport, but I do not know, if it really is. I suppose, someone, who is more experienced will report it as a bug Regards Hans -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running Java App fails...
On Monday 02 July 2007 13:30:20 Hans-J. Ullrich wrote: Am Montag 02 Juli 2007 schrieb Thomas Besser: Hi, I'm recently switched my desktop computer to amd64 architecture (intel macbook) and want to use JXplorer (LDAP Browser in Java, http://www.jxplorer.org) furthermore. Have installed all sun-java5 packages also ia32-sun-java5 and ia32-libs and so on, but installation fails: sissymobil:/home/software/linux/JXplorer# sh JXv3.2_install_linux.bin Preparing to install... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... nawk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory /bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory Launching installer... grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory /usr/lib/jvm/java-1.5.0-sun/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory Any hints what can be done or where is the problem? Regards Thomas There is a bug with the paths, as the newest java is not installed, where the applications do expect it. Solution (quick and dirty): create a symbolic link: ln -s /usr/java /usr/lib/jvm/java-6-sun-1.6.0.00/ (I have sun-java-6 installed) Maybe it is worth a bugreport, but I do not know, if it really is. I suppose, someone, who is more experienced will report it as a bug I may be wrong but I don't think it is a bug and I think the following will do the trick #update-alternatives --config java and then you select the java alternative you like. Hope it helps Gudjon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running Java App fails...
Am Montag 02 Juli 2007 schrieb Gudjon I. Gudjonsson: On Monday 02 July 2007 13:30:20 Hans-J. Ullrich wrote: Am Montag 02 Juli 2007 schrieb Thomas Besser: Hi, I'm recently switched my desktop computer to amd64 architecture (intel macbook) and want to use JXplorer (LDAP Browser in Java, http://www.jxplorer.org) furthermore. Have installed all sun-java5 packages also ia32-sun-java5 and ia32-libs and so on, but installation fails: sissymobil:/home/software/linux/JXplorer# sh JXv3.2_install_linux.bin Preparing to install... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... nawk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory /bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory Launching installer... grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory /usr/lib/jvm/java-1.5.0-sun/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory Any hints what can be done or where is the problem? Regards Thomas There is a bug with the paths, as the newest java is not installed, where the applications do expect it. Solution (quick and dirty): create a symbolic link: ln -s /usr/java /usr/lib/jvm/java-6-sun-1.6.0.00/ (I have sun-java-6 installed) Maybe it is worth a bugreport, but I do not know, if it really is. I suppose, someone, who is more experienced will report it as a bug I may be wrong but I don't think it is a bug and I think the following will do the trick #update-alternatives --config java and then you select the java alternative you like. Hope it helps Gudjon Not quite, please take a look: protheus2:/home/ullhan63# LANG=C update-alternatives --config java There is only 1 program which provides java (/usr/lib/jvm/java-6-sun/jre/bin/java). Nothing to configure. protheus2:/home/ullhan63# All other java-packages were deinstalled by aptitude (or apt-get dist-upgrade) bcause of conflicts. Regards Hans -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running Java App fails...
Hi Hans I may be wrong but I don't think it is a bug and I think the following will do the trick #update-alternatives --config java and then you select the java alternative you like. Hope it helps Gudjon Not quite, please take a look: protheus2:/home/ullhan63# LANG=C update-alternatives --config java There is only 1 program which provides java (/usr/lib/jvm/java-6-sun/jre/bin/java). Nothing to configure. protheus2:/home/ullhan63# All other java-packages were deinstalled by aptitude (or apt-get dist-upgrade) bcause of conflicts. There is plenty of possibilities on my computer :) # update-alternatives --config java There are 5 alternatives which provide `java'. SelectionAlternative --- 1/usr/lib/jvm/ia32-java-6-sun/jre/bin/java 2/etc/alternatives/kaffe-system/bin/java * 3/usr/lib/jvm/java-6-sun/jre/bin/java +4/usr/lib/jvm/java-gcj/jre/bin/java 5/usr/bin/gij-4.1 Press enter to keep the default[*], or type selection number: I think the difference is that I use dselect since I found it better in resolving conflicts although it sometimes uses brute force. Regards Gudjon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running Java App fails...
Gudjon I. Gudjonsson wrote: I may be wrong but I don't think it is a bug and I think the following will do the trick #update-alternatives --config java and then you select the java alternative you like. That's not the problem. I configured it like this. sissymobil:~# ls -l /etc/alternatives/java lrwxrwxrwx 1 root root 40 2007-07-02 13:53 /etc/alternatives/java - /usr/lib/jvm/java-1.5.0-sun/jre/bin/java Regards Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running Java App fails...
Am Montag 02 Juli 2007 schrieb Gudjon I. Gudjonsson: Hi Hans I may be wrong but I don't think it is a bug and I think the following will do the trick #update-alternatives --config java and then you select the java alternative you like. Hope it helps Gudjon Not quite, please take a look: protheus2:/home/ullhan63# LANG=C update-alternatives --config java There is only 1 program which provides java (/usr/lib/jvm/java-6-sun/jre/bin/java). Nothing to configure. protheus2:/home/ullhan63# All other java-packages were deinstalled by aptitude (or apt-get dist-upgrade) bcause of conflicts. There is plenty of possibilities on my computer :) # update-alternatives --config java There are 5 alternatives which provide `java'. SelectionAlternative --- 1/usr/lib/jvm/ia32-java-6-sun/jre/bin/java 2/etc/alternatives/kaffe-system/bin/java * 3/usr/lib/jvm/java-6-sun/jre/bin/java +4/usr/lib/jvm/java-gcj/jre/bin/java 5/usr/bin/gij-4.1 Press enter to keep the default[*], or type selection number: I think the difference is that I use dselect since I found it better in resolving conflicts although it sometimes uses brute force. Regards Gudjon Hi Gudjon Oh I see ! Yes, naturally one should try to install another alternative java-package. Anyway, the desribed wrong path with the sun-java-6 might still be a bug. I hope, someone will check this out. Maybe the maintainer itself. And I hope, our discussion could help the user(s) regards Hans -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running Java App fails...
Hans-J. Ullrich wrote: There is a bug with the paths, as the newest java is not installed, where the applications do expect it. Solution (quick and dirty): create a symbolic link: ln -s /usr/java /usr/lib/jvm/java-6-sun-1.6.0.00/ You confused the target with link (first the target and then the link). That does not solve the problem. I think that it has something to do how the java binary was compiled (32bit!?) Regards Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running Java App fails...
Am Montag 02 Juli 2007 schrieb Thomas Besser: Hans-J. Ullrich wrote: There is a bug with the paths, as the newest java is not installed, where the applications do expect it. Solution (quick and dirty): create a symbolic link: ln -s /usr/java /usr/lib/jvm/java-6-sun-1.6.0.00/ You confused the target with link (first the target and then the link). That does not solve the problem. I think that it has something to do how the java binary was compiled (32bit!?) Regards Thomas Sry, yes, the link is /usr/java S*** happens ! regards Hans -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running Java App fails...
Hi It works on my computer I downloaded $JXv3.2deploy.tar.bz2 $tar cjf JXv3.2deploy.tar.bz2 $cd jxplorer $sh jxplorer.sh And the program appears but I have not got a clue what it does :) I am using /usr/lib/jvm/java-6-sun/jre/bin/java Cheers Gudjon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Running Java App fails...
Thomas Besser wrote: Hans-J. Ullrich wrote: There is a bug with the paths, as the newest java is not installed, where the applications do expect it. Solution (quick and dirty): create a symbolic link: ln -s /usr/java /usr/lib/jvm/java-6-sun-1.6.0.00/ You confused the target with link (first the target and then the link). That does not solve the problem. I think that it has something to do how the java binary was compiled (32bit!?) Regards Thomas Perhaps you have more packages than needed installed (I'm referring to the ia32 packages). I don't know if you need them, but with all the suggestions given and the following packages installed, Java works fine on this system: sun-java6-bin sun-java6-demo sun-java6-doc sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-source I develop in Java so I have a few, but I think with *-bin, *-fonts and *-jre things should work fine. :-) -Jose -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]