Problem mit Java 1.7.60

BFEsns
Beiträge: 9
Registriert: 05 Sep 2011, 10:03

Problem mit Java 1.7.60

Beitrag von BFEsns »

Hallo zusammen,

ich wollte heute mein Java-Paket von Version 1.7.55 auf Version 1.7.60 updaten.

Ich musste bei den letzten Updates immer nur die MSI-Datei austauschen und die Paketversion erhöhen. Leider klappt das mit der neuen Version nicht mehr.

Error 1603

Ich finde leider bei Google zu diesem Problem nix.....

Hat jemand das gleiche Problem ?

Gruß

Sascha
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: Problem mit Java 1.7.60

Beitrag von SisterOfMercy »

No problems here.

What does your script look like? Perhaps you are using a property that does not exist in the MSI anymore.

(Bitte schreiben Sie Deutsch)
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
mensch90
Beiträge: 130
Registriert: 27 Jul 2013, 16:52

Re: Problem mit Java 1.7.60

Beitrag von mensch90 »

wtf! das java update ist ja vollkommen an mir vorbei gegangen - danke für die info ;)

1603 - typischer Hinweis darauf, dass der Installerservice nach dem Uninstall nicht zur Verfügung steht. Falls du den Uninstall via wmic machst, knall einfach danach ein Immediate Reboot rein und prüfe, ob der Ordner nicht mehr existiert, sonst hast du eine Loop ;)
mensch90
Beiträge: 130
Registriert: 27 Jul 2013, 16:52

Re: Problem mit Java 1.7.60

Beitrag von mensch90 »

habe nun 7u60 gepackt - keinerlei Problem.

Ich lasse via wmic erst die alte Version deinstallieren und installiere dann (allerdings) die jre.exe.
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: Problem mit Java 1.7.60

Beitrag von SisterOfMercy »

mensch90 hat geschrieben:Ich lasse via wmic erst die alte Version deinstallieren und installiere dann (allerdings) die jre.exe.
You do not need to uninstall first with java runtime 7. If you do uninstall, you will have to reboot, just as you have said.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
mensch90
Beiträge: 130
Registriert: 27 Jul 2013, 16:52

Re: Problem mit Java 1.7.60

Beitrag von mensch90 »

even if i uninstall java, i don't need a reboot ;)
i'm using this method quiet a long time and all works finde - in earlier tests i didn't remove the old versions and got strange problems and phantom-problems in using webapps etc.
Benutzeravatar
Thomas_H
Beiträge: 525
Registriert: 09 Jun 2010, 11:57
Wohnort: Havelland

Re: Problem mit Java 1.7.60

Beitrag von Thomas_H »

Moinsens...

falls noch nicht geschehen, wäre es famos, wenn das funktionierende Script auch in der Wiki landen würde... ;)

Gruß

Thomas_H
Kennst Du schon die WIKI für OPSI-Scripte? Fertige Installationsscripte bekommen und ablegen unter OPSI-Wiki
Aus dem Glashaus :) : UIB bietet auch Schulungen und Supportverträge für Opsi an.
Bild
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: Problem mit Java 1.7.60

Beitrag von SisterOfMercy »

Thomas_H hat geschrieben:falls noch nicht geschehen, wäre es famos, wenn das funktionierende Script auch in der Wiki landen würde... ;)
I have put it there a few days ago:
wiki/userspace:java_runtime

This works with changing 55 to 60, no other changes were needed.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
BFEsns
Beiträge: 9
Registriert: 05 Sep 2011, 10:03

Re: Problem mit Java 1.7.60

Beitrag von BFEsns »

Ok, Fehler gefunden. Ich hatte die 64-Bit-Version erwischt.......

Mit der richtigen Version funktioniert es ;-)
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: Problem mit Java 1.7.60

Beitrag von SisterOfMercy »

mensch90 hat geschrieben:even if i uninstall java, i don't need a reboot ;)
i'm using this method quiet a long time and all works finde - in earlier tests i didn't remove the old versions and got strange problems and phantom-problems in using webapps etc.
Even worse, without uninstalling the previous version it just copies the installation files, or something! :oops: :cry:

Oh wel, fixed it:

changed this:

Code: Alles auswählen

"%SystemRoot%\system32\msiexec.exe" /qb! /package "%ScriptPath%\files\x86\jre1.7.0_60.msi" IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 JQS=0 SYSTRAY=0 EULA=0 REBOOT=ReallySuppress
in this:

Code: Alles auswählen

"%SystemRoot%\system32\msiexec.exe" /qb! /package "%ScriptPath%\files\x86\jre1.7.0_60.msi" IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 JQS=0 SYSTRAY=0 EULA=0 RebootYesNo=No REBOOT=ReallySuppress
I did try the WMIC method, but XP x64 doesn't have the "WMI installer provider" installed by default, so "wmic product list" gives an error.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Antworten