Dear experts,
I installed a SAP BW 7.0 sandbox system, the data is copied from production system. The installation and DB restore phase is successful. However, I found an error when I want to start SAP visual admin. Here is the log that can be found on /usr/sap/SID/DVEBMGS<Sys_No>/j2ee/admin/log/console_logs/error.log
# log generation timestamp : 2014_05_05_at_22_00_09
5/5/14 10:00 PM com.sap.engine.tools.launcher.Launcher Error : unable to invoke main class com.sap.engine.services.adminadapter.gui.AdminFrameView
com.sap.engine.tools.launcher.LauncherException
at com.sap.engine.tools.launcher.Launcher.launch(Launcher.java:340)
at com.sap.engine.tools.launcher.Launcher.main(Launcher.java:114)
-------- caused by --------
java.lang.reflect.InvocationTargetException
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:324)
at com.sap.engine.tools.launcher.Launcher.launch(Launcher.java:336)
at com.sap.engine.tools.launcher.Launcher.main(Launcher.java:114)
Caused by: java.lang.UnsupportedClassVersionError: org/GNOME/Accessibility/JavaBridge (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:684)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:774)
at java.awt.Window.getToolkit(Window.java:688)
at java.awt.Window.init(Window.java:246)
at java.awt.Window.<init>(Window.java:275)
at java.awt.Frame.<init>(Frame.java:401)
at java.awt.Frame.<init>(Frame.java:366)
at javax.swing.SwingUtilities$1.<init>(SwingUtilities.java:1641)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1637)
at javax.swing.JWindow.<init>(JWindow.java:160)
at javax.swing.JWindow.<init>(JWindow.java:112)
at com.sap.engine.services.adminadapter.gui.AboutWindow.<init>(AboutWindow.java:12)
at com.sap.engine.services.adminadapter.gui.AdminFrameView.main(AdminFrameView.java:234)
... 6 more
I found on the internet that these error is because Java that compiles on Java 5 is running on Java 4. Java version that running on the system is 1.4.2_18. Java version on production system is 1.4.2_18. Then I upgrade java on sandbox system to 1.5.0_61 and change all <sid>adm profile that related to java for pointing to the latest Java version. Now I tried to launch to Visual Admin and it is able to launch.
My question is why the java have to be upgraded to 1.5 even the database is copied from production system that has Java 1.4?
Thanks,
Kris