Java 6?

Everything about Illarion that fits nowhere else. / Alles über Illarion was inhaltlich in kein anderes Board passt.

Moderator: Gamemasters

Post Reply
User avatar
Nitram
Developer
Posts: 7638
Joined: Fri Oct 31, 2003 9:51 am
Contact:

Java 6?

Post by Nitram »

Hello everyone,

The Illarion Client currently targets Java 6 and Java 7 as working JVMs. However since Java 6 is currently in the progress of disappearing I would like to know how many in our community are still using Java version 6.

In case you do not know how to find out, it works quite simple. Open the command prompt of your operating system. That would be the console in Linux and MacOS X operating systems and the command line interface for Windows (Windows-Key + R :arrow: "cmd"). Type the line "java -version" (without ") into the command prompt and hit enter. The first line returned gives you something like

Code: Select all

java version "1.x.y_yy"
The number that is here masked by the x is the relevant one.

Note that there is currently no point in using Java 6 in case your OS supports Java 7. Java 7 will run faster in any case.

The reason for me asking is that I think about using some of the newest features of Java 7 in order to improve the performance of the client in general. This change won't be part of the next client update, as this one is finalized right now and will soon be rolled out. However I'd like to avoid that anyone can't play anymore simply because Java 7 is not available for his operating system.

------

Hallo an alle,

der Illarion Client ist momentan in der Lage mit Java 6 und Java 7 zu arbeiten. Da allerdings Java 6 langsam von der Bildfläche verschwindet möchte ich an dieser Stelle herausfinden wieviele in der Gemeinschaft noch Java 6 nutzen.

Für den Fall, dass nicht klar ist wie man herausfinden kann welche Java Version man hat, hier eine kurze Anleitung. Zunächst muss die Befehlseingabe des Betriebssystems geöffnet werden. Das wäre für Linux und MacOS X die Konsole, für Windows die Eingabeaufforderung (Windows-Taste + R :arrow: "cmd"). In diese Befehleingabe muss man "java -version" (ohne die ") eingeben und Enter drücken. Die Erste Zeile die zurückgegeben wird sollte etwa so aussehen:

Code: Select all

java version "1.x.y_yy"
. Wichtig ist die Zahl die mit dem X maskiert wurde.

An dieser Stelle sei noch einmal erwähnt das es keinen Grund gibt Java 6 zu verwenden wenn auf dem eigenen Betriebssystem die Installation von Java 7 möglich ist. Java 7 ist in jedem Fall schneller.

Der Grund warum ich frage, ist das ich einige der neuen Funktionen von Java 7 nutzen möchte und die Geschwindigkeit des Clients zu verbessern. Diese Update wird aber nicht Teil des nächsten Client Updates werden, weil dieses Bereits fertig ist und nur noch abgerundet wird. Ich möchte aber in jedem Fall vermeiden jemandem das Spielen unmöglich zu machen weil Java 7 auf seinem Betriebssystem nicht funktioniert.

Nitram
User avatar
Achae Eanstray
Posts: 4300
Joined: Tue Sep 19, 2006 7:03 am
Location: A field of dandelions
Contact:

Re: Java 6?

Post by Achae Eanstray »

I could get the cmd line but couldn't ask for the version of java that way. Anyway, went to control panel in Windows 7 pro and clicked for programs, then saw Java. I am using java 32 bit version is 7 update 10.
User avatar
Nitram
Developer
Posts: 7638
Joined: Fri Oct 31, 2003 9:51 am
Contact:

Re: Java 6?

Post by Nitram »

Achae Eanstray wrote:I could get the cmd line but couldn't ask for the version of java that way. Anyway, went to control panel in Windows 7 pro and clicked for programs, then saw Java. I am using java 32 bit version is 7 update 10.
That indicates a faulty installation of Java. The command java -version works on all java versions.

And please. Only those who use Java 6 or who have problems finding out their java version write something here. Its nice and someone is talking to me and all, but it will be very hard to find the few Java 6 users amount thousands of messages of Java 7 users. :wink:

----

Bitte nur die die Java 6 benutzen und die die Probleme haben ihre Java Version herauszufinden sollten hier etwas schreiben. Es ist zwar nett das jemand mit mir redet und so, aber es wird schwer werden die Java 6 Benutzer zu zählen wenn tausende Nachrichten hier stehen von Java 7 Benutzern. :wink:
User avatar
rakust dorenstkzul
Posts: 2304
Joined: Fri Mar 21, 2008 2:47 pm
Location: In the heart of every smiling child

Re: Java 6?

Post by rakust dorenstkzul »

Java 1.6.0_33 masterrace reporting in.
User avatar
nathi
Posts: 589
Joined: Thu Oct 08, 2009 7:10 pm
Contact:

Re: Java 6?

Post by nathi »

Nitram wrote:....Das wäre für Linux und MacOS X die Konsole....
Hej

bei MacOS heisst der OS-Editor "Terminal"

Test bei mir:
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)

Allerdings verstehe ich das nicht, denn ich hatte schon mal einen Java7 update gemacht. Dann ging gar nichts mehr, irgendwie hatte ich dann mit einer Anleitung in einer Datei ein paar Zahlen verändert dann ging es wieder eine Weile. Dann muss ich es irgendwie geschafft haben wieder auf Java 6 umzustellen.Ich hatte wegen Java und einigen Sperrungen von Apple wegen Sicherheitslücken in der letzten Zeit mehrmals Probleme den Client überhaupt zu starten. Momentan geht es noch mit Opera, aus Safari kann ich nicht starten. Also eine Frage der Zeit wie lange ich noch mitspiele.
Ich versuche nochmal einen Java 7 update, allerdings mit dem Risiko das ich gar nicht mehr einloggen kann. Ich kenne mich in solchen Dingen nicht gut aus.

lg nathi
Damien
Posts: 7845
Joined: Thu Feb 22, 2001 5:59 pm
Location: Vanima and grey Refuge, of course.
Contact:

Re: Java 6?

Post by Damien »

Java 6 also has some big security holes that are closed in the actual Java seven version. It is to be avoided to use Java 6 if 7 is available.
Post Reply