Overblog
Editer l'article Suivre ce blog Administration + Créer mon blog
15 novembre 2012 4 15 /11 /novembre /2012 01:00

While trying to uninstall Nexpose Rapid7 on a test machine, got an error message (related to Java)

Here is what the log says:

 

Exception:

 

In action "Determine Screen Resolution [Run script]" (screen "Startup"), property "Script":

java.lang.UnsupportedClassVersionError: com/rapid7/os/OSException : Unsupported major.minor version 51.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClassCond(Unknown Source)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$000(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at I4jScript_Internal_206.eval(I4jScript_Internal_206.java:20)

at I4jScript_Internal_206.evaluate(I4jScript_Internal_206.java:25)

at com.install4j.runtime.installer.helper.Script.evaluate(Unknown Source)

at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)

at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)

at com.install4j.runtime.beans.actions.control.RunScriptAction.execute(Unknown Source)

at com.install4j.runtime.beans.actions.SystemInstallOrUninstallAction.uninstall(Unknown Source)

at com.install4j.runtime.installer.UninstallerContextImpl.performActionInt(Unknown Source)

at com.install4j.runtime.installer.ContextImpl.performAction(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.executeActions(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.handleCommand(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.handleStartup(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.start(Unknown Source)

at com.install4j.runtime.installer.Uninstaller.main(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.exe4j.runtime.WinLauncher.main(Unknown Source)

at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

 

System properties:

 

java.runtime.name=Java(TM) SE Runtime Environment

exe4j.moduleName=C:\Program Files\rapid7\nexpose\.install4j\uninstall.exe

exe4j.processCommFile=C:\Users\Phil\AppData\Local\Temp\e4j_p1056.tmp

exe4j.semaphoreName=c:_program files_rapid7_nexpose_.install4j_uninstall.exe

sun.boot.library.path=c:\program files\rapid7\nexpose\_jvm1.6.0_25\bin

java.vm.version=20.0-b11

java.vm.vendor=Sun Microsystems Inc.

java.vendor.url=http://java.sun.com/

exe4j.consoleCodepage=cp850

path.separator=;

java.vm.name=Java HotSpot(TM) 64-Bit Server VM

file.encoding.pkg=sun.io

user.country=FR

sun.os.patch.level=Service Pack 1

install4j.exeDir=C:\Program Files\rapid7\nexpose\.install4j\

java.vm.specification.name=Java Virtual Machine Specification

user.dir=C:\Program Files\rapid7\nexpose

java.runtime.version=1.6.0_25-b06

java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment

java.endorsed.dirs=c:\program files\rapid7\nexpose\_jvm1.6.0_25\lib\endorsed

os.arch=amd64

java.io.tmpdir=C:\Users\Phil\AppData\Local\Temp\

line.separator=

 

java.vm.specification.vendor=Sun Microsystems Inc.

user.variant=

exe4j.tempDir=

os.name=Windows 7

sun.jnu.encoding=Cp1252

java.library.path=shared\bin;shared\lib

java.specification.name=Java Platform API Specification

java.class.version=50.0

sun.management.compiler=HotSpot 64-Bit Tiered Compilers

exe4j.isInstall4j=true

os.version=6.1

user.home=C:\Users\Phil

user.timezone=Europe/Paris

java.awt.printerjob=sun.awt.windows.WPrinterJob

file.encoding=Cp1252

java.specification.version=1.6

java.class.path=C:\Program Files\rapid7\nexpose\.install4j\i4jruntime.jar;C:\Program Files\rapid7\nexpose\.install4j\..\.install4j\user.jar;C:\Program Files\rapid7\nexpose\.install4j\..\.install4j\user\cryptojFIPS.jar;C:\Program Files\rapid7\nexpose\.install4j\..\.install4j\user\nse.jar;C:\Program Files\rapid7\nexpose\.install4j\..\.install4j\user\sigar.jar;C:\Program Files\rapid7\nexpose\.install4j\..\.install4j\user\sslj.jar;;c:\program files\rapid7\nexpose\_jvm1.6.0_25\lib\deploy.jar;c:\program files\rapid7\nexpose\_jvm1.6.0_25\lib\plugin.jar;C:\Program Files\rapid7\nexpose\nse\lib\nse.jar;C:\Program Files\rapid7\nexpose\nsc\lib\nsc.jar;C:\Program Files\rapid7\nexpose\shared\lib\nxshared.jar;C:\Program Files\rapid7\nexpose\shared\lib\r7shared.jar

user.name=Phil

java.vm.specification.version=1.0

sun.java.command=C:\Program Files\rapid7\nexpose\.install4j\uninstall.exe

java.home=c:\program files\rapid7\nexpose\_jvm1.6.0_25

sun.arch.data.model=64

exe4j.launchName=C:\Program Files\rapid7\nexpose\.install4j\uninstall.exe

user.language=fr

java.specification.vendor=Sun Microsystems Inc.

awt.toolkit=sun.awt.windows.WToolkit

java.vm.info=mixed mode

exe4j.unextractedPosition=0

java.version=1.6.0_25

java.ext.dirs=c:\program files\rapid7\nexpose\_jvm1.6.0_25\lib\ext;C:\Windows\Sun\Java\lib\ext

sun.boot.class.path=c:\program files\rapid7\nexpose\_jvm1.6.0_25\lib\resources.jar;c:\program files\rapid7\nexpose\_jvm1.6.0_25\lib\rt.jar;c:\program files\rapid7\nexpose\_jvm1.6.0_25\lib\sunrsasign.jar;c:\program files\rapid7\nexpose\_jvm1.6.0_25\lib\jsse.jar;c:\program files\rapid7\nexpose\_jvm1.6.0_25\lib\jce.jar;c:\program files\rapid7\nexpose\_jvm1.6.0_25\lib\charsets.jar;c:\program files\rapid7\nexpose\_jvm1.6.0_25\lib\modules\jdk.boot.jar;c:\program files\rapid7\nexpose\_jvm1.6.0_25\classes

install4j.appDir=C:\Program Files\rapid7\nexpose\

java.vendor=Sun Microsystems Inc.

file.separator=\

java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi

sun.io.unicode.encoding=UnicodeLittle

sun.cpu.endian=little

sun.desktop=windows

sun.cpu.isalist=amd64

Sad to see that even a security product embeds an outdated version of Java, and does not even run on currently supported/secure Java v7...

Partager cet article

Repost0

commentaires