So, entgegen allen Informationen, dass Java etc. noch nicht als Plugin bei den Webbrowsern unter Linux 64Bit Systemen arbeitet habe ich mich trotzdem dazu entschlossen es unter einem versuchen zu installieren.
Ich habe die Pakete sun-java6-bin ; sun-java6-jre ; ia32-sun-java6-bin installiert. Ersteres und Letzteres sind jeweils Architecture dependent weswegen sie auch nicht so ohne weiteres unter einem 64Bit System funktionieren werden.
Der nächste Schritt der anstand war folgender:
Code: Select all
echo "/usr/lib/jvm/ia32-java-6-sun-1.6.0.06/ $1" > /usr/local/bin/javaws
Das hat auch ganz gut funktioniert. Er hat angefangen etwas herunterzuladen, hat mich dann gefragt ob er es ausführen darf und nach einem Pfad für die Illarion-Installation gefragt. Nachdem ich aber den Pfand angegeben habe kam folgende Fehlermeldung:
Fehler: access denied (java.security.SecurityPermission putProviderProperty.SunJCE)
Startdatei
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://download.illarion.org" href="illarion_client.jnlp">
<information>
<title>Illarion Client</title>
<vendor>illarion.org</vendor>
<homepage href="http://www.illarion.org" />
<description>A graphical client for the Illarion online role playing game.</description>
<icon href="icon.gif"/>
<offline-allowed/>
</information>
<information locale="DE">
<description>Ein graphischer Client für das Illarion Online-Rollenspiel.</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.5+" />
<jar href="illarion.jar" main="true" />
<jar href="rsc_chars_upd.jar"/>
<jar href="rsc_effects_upd.jar"/>
<jar href="rsc_gui_upd.jar"/>
<jar href="rsc_items_upd.jar"/>
<jar href="rsc_sound_upd.jar"/>
<jar href="rsc_tiles_upd.jar"/>
<jar href="rsc_chars.jar"/>
<jar href="rsc_effects.jar"/>
<jar href="rsc_gui.jar"/>
<jar href="rsc_items.jar"/>
<jar href="rsc_sound.jar"/>
<jar href="rsc_tiles.jar"/>
<jar href="soundbank.jar" />
<jar href="manual.jar" />
<jar href="lwjgl.jar" />
<jar href="lwjgl_util.jar" />
<property name="org.lwjgl.opengl.Display.allowSoftwareOpenGL" value="true"/>
</resources>
<resources os="Windows">
<nativelib href="lwjgl_win.jar" />
</resources>
<resources os="Linux">
<nativelib href="lwjgl_linux.jar" />
</resources>
<resources os="Mac OS">
<nativelib href="lwjgl_mac.jar" />
</resources>
<security>
<all-permissions />
</security>
<application-desc main-class="illarion.client.IllaClient" />
</jnlp>
Code: Select all
java.security.AccessControlException: access denied (java.security.SecurityPermission putProviderProperty.SunJCE)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkSecurityAccess(SecurityManager.java:1698)
at java.security.Provider.check(Provider.java:386)
at java.security.Provider.put(Provider.java:309)
at com.sun.crypto.provider.SunJCE$1.run(DashoA13*..)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.crypto.provider.SunJCE.<init>(DashoA13*..)
at illarion.client.b.e.<init>(Unknown Source)
at illarion.client.IllaClient.<init>(Unknown Source)
at illarion.client.IllaClient.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1293)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1239)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1086)
at com.sun.javaws.Launcher.run(Launcher.java:105)
at java.lang.Thread.run(Thread.java:619)
http://www.ibm.com/developerworks/websp ... yu/yu.html
Und dort auf den Bereich "Using Sun JCE Provider in the WebSphere Runtime"
Ich kenne mich mit Java nicht aus aber so viel ich verstanden habe wird in der Datei java.policy , die sich hier befindet: /usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/security/java.policy
, eingetragen ob eine bestimmte Anwendung Zugriff bekommt, oder so etwas.
Nur leider sind nach der Illarion-Installation lediglich zwei PDF's und eine readme.txt vorhanden, außer einem Haufen Dateien die in einem temporären Ordner gespeichert wurden.
Also, wenn jemand eine Idee hat...
----------------------------------------------------------------------------------------------------------
[ENGLISH VERSION]
Long story short: I decided to use Java on a 64bit Linux system although it's not fully compatible.
The first step was to install the following packages: sun-java6-bin ; sun-java6-jre ; ia32-sun-java6-bin . The first and the last one is not compatibele to 64bit architecture. After that I did:
Code: Select all
echo "/usr/lib/jvm/ia32-java-6-sun-1.6.0.06/ $1" > /usr/local/bin/javaws
Fehler: access denied (java.security.SecurityPermission putProviderProperty.SunJCE)
Startdatei
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://download.illarion.org" href="illarion_client.jnlp">
<information>
<title>Illarion Client</title>
<vendor>illarion.org</vendor>
<homepage href="http://www.illarion.org" />
<description>A graphical client for the Illarion online role playing game.</description>
<icon href="icon.gif"/>
<offline-allowed/>
</information>
<information locale="DE">
<description>Ein graphischer Client für das Illarion Online-Rollenspiel.</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.5+" />
<jar href="illarion.jar" main="true" />
<jar href="rsc_chars_upd.jar"/>
<jar href="rsc_effects_upd.jar"/>
<jar href="rsc_gui_upd.jar"/>
<jar href="rsc_items_upd.jar"/>
<jar href="rsc_sound_upd.jar"/>
<jar href="rsc_tiles_upd.jar"/>
<jar href="rsc_chars.jar"/>
<jar href="rsc_effects.jar"/>
<jar href="rsc_gui.jar"/>
<jar href="rsc_items.jar"/>
<jar href="rsc_sound.jar"/>
<jar href="rsc_tiles.jar"/>
<jar href="soundbank.jar" />
<jar href="manual.jar" />
<jar href="lwjgl.jar" />
<jar href="lwjgl_util.jar" />
<property name="org.lwjgl.opengl.Display.allowSoftwareOpenGL" value="true"/>
</resources>
<resources os="Windows">
<nativelib href="lwjgl_win.jar" />
</resources>
<resources os="Linux">
<nativelib href="lwjgl_linux.jar" />
</resources>
<resources os="Mac OS">
<nativelib href="lwjgl_mac.jar" />
</resources>
<security>
<all-permissions />
</security>
<application-desc main-class="illarion.client.IllaClient" />
</jnlp>
Code: Select all
java.security.AccessControlException: access denied (java.security.SecurityPermission putProviderProperty.SunJCE)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkSecurityAccess(SecurityManager.java:1698)
at java.security.Provider.check(Provider.java:386)
at java.security.Provider.put(Provider.java:309)
at com.sun.crypto.provider.SunJCE$1.run(DashoA13*..)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.crypto.provider.SunJCE.<init>(DashoA13*..)
at illarion.client.b.e.<init>(Unknown Source)
at illarion.client.IllaClient.<init>(Unknown Source)
at illarion.client.IllaClient.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1293)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1239)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1086)
at com.sun.javaws.Launcher.run(Launcher.java:105)
at java.lang.Thread.run(Thread.java:619)
Now I don't know a thing about Java but it looks like the file /usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/security/java.policy states which .jar files get permission to be executed or something like that. The problem is that the Installer just downloaded two PDF's and one readme.txt apart from some other files in the temporary director. At that point I'm out of ideas again and just posting this in case someone knows something...