I am cloning our production server from windows 2003 32bit machine to windows 2008 64 bit machine.
After copying all the folders from source windchill installation to target installatioon, I have installed JAVA throguth PSI and set JAVA_HOME in Windows environment.
But after launching the windchill shell to do further commands I am getting below errors:
D:\PTC\Windchill_9.1\Windchill\bin>windchill version
Exception in thread "main" java.lang.NoClassDefFoundError: wt/util/version/WindchillVersion
Caused by: java.lang.ClassNotFoundException: wt.util.version.WindchillVersion
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: wt.util.version.WindchillVersion. Program will exit.
Can somebody please help me in this.
Hello Amit,
I think you should remove the environment variable JAVA_HOME and java uninstall the application if it is present in uninstall programs
Then restarts the server
Pascal
Hello Amit,
What is the java version message details after typing Windchill Shell from Windchill\bin> folder.
BR,
Ravi Kandepu
Hello,