Forum: Technical Support: java.net.UnknownHostException...
magic_sam 2010/08/17 21:27 |
Hi,
I can't run build #14 on my Debian GNU/Linux stable "Lenny" 5.0.5 64 bits box :( There seem to have some 32/64 bits dependency issues (which I should be able to handle by myself), but what does this "java.net.UnknownHostException: download.resistanceforce.com" thing mean ? Good luck for the development, I'm looking for a replacement to the now "stalled" True Combat: Elite project ;) Bye and thanks for your help, Magic Sam samuel@portable:~/Desktop/resforce-alpha$ ./resforce (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: wrong ELF class: ELFCLASS64 (<unknown>:6266): Gtk-WARNING **: Error loading theme icon 'gtk-dialog-error' for stock: Impossible de charger le module de chargement d'images : /usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so : /usr/lib32/gtk-2.0/2.10.0/loaders/svg_loader.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou répertoire de ce type java.net.UnknownHostException: download.resistanceforce.com at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) at sun.net.www.http.HttpClient.<init>(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:323) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:788) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:729) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:654) at cz.advel.launcher.Downloader.saveTo(Downloader.java:43) at cz.advel.launcher.Launcher.main(Launcher.java:305) samuel@portable:~/Desktop/resforce-alpha$ |
magic_sam 2010/08/18 23:32 |
Hi,
I have installed 32 bits version of Java and GTK2 engines, but it still doesn't work :( Do I have to change the $PATH ? You should provide a 64 bits version of your binary in the future, or at least provide a README file with a list of libraries your game depends on... IMHO, only Windows users are stuck into 32 bits architecture (even on a 64 bits capable machine, they keep on installing a 32 bits version of their favourite OS, for (proprietary, closed source) software compatibility... Unix users have more freedom when it comes to this, so please consider 64 bits architectures in the future :) Bye and thanks, Magic Sam |
jezek2 2010/08/20 07:41 |
Does the 'host download.resistanceforce.com' command work for you? Looks like problem with resolving the host name.
System-wide Java is not needed as the game has own Java bundled. The GTK2 errors should be ok, in that case the GTK2 look won't be used by the updater. Unless the updater window doesn't show up at all. Yeah I have 64bit support on mind, but there are some specifics that I need to resolve first and as it 'works' in 32bit it's low priority for now (only the Mac build uses 64bit now). |
magic_sam 2010/08/20 11:32 |
Hi jezek2,
Yes, this command works : samuel@portable:~$ host download.resistanceforce.com download.resistanceforce.com has address 83.246.72.181 samuel@portable:~$ Bye and keep up the good work, Magic Sam |
Elio 2015/12/04 05:31 | Thanks for the hint. Just wanted to metinon, that (according to ) on 64-bit systems the file has moved to /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/menuproxies/libappmenu.so.Regards,Peter |