Hi,
I have a working JMRI system and have copied the CATS files into c:\program files (x86)\jmri. ? I have also placed log4j.jar into the same directory.
Both 32 & 64 bit versions of java have been installed and I have tried configuring designer.bat to use either version (not at the same time).? Using java 8 update 241.
I am able to open CAT using cats.bat but I get the following error when starting designer. ? I'm starting this from the directory itself rather than from an icon on the desktop.? I have checked the cats and designer documents but may have missed something. ? If anyone could assist, it would be appreciated.? Thank you
C:\Program Files (x86)\JMRI>designer
C:\Program Files (x86)\JMRI>java -Djava.ext.dirs=lib -Dsun.java2d.noddraw -cp designer.jar designer.gui.Ctc
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdom/Content
??????? at designer.gui.Ctc.<init>(Ctc.java:151)
??????? at designer.gui.Ctc.main(Ctc.java:439)
Caused by: java.lang.ClassNotFoundException: org.jdom.Content
??????? 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)
??????? ... 2 more
C:\Program Files (x86)\JMRI>"C:\Program Files (x86)\JMRI\LaunchJMRI.exe" designer.gui.Ctc
C:\Program Files (x86)\JMRI>
Designer.bat file
:: This bat file has 5 different commands for launching designer.? Only those without
:: the comment annotation (::) will be executed.? To select one, edit out the
:: comment annotation (::) and add it to any lines without it.
:: Use the following line if Windows knows about Java
java -Djava.ext.dirs=lib -Dsun.java2d.noddraw -cp designer.jar designer.gui.Ctc
:: Use the following line if Windows does not know about Java and it is Java 8
:: on a 32 bit Windows system
:: "C:\Program Files (x86)\Java\jre1.8.0_241\bin\java.exe" -Djava.ext.dirs=lib -Dsun.java2d.noddraw -cp designer.jar designer.gui.Ctc
:: Use the following line if Windows does not know about Java and it is Java 8
:: on a 64 bit Windows system
:: "C:\Program Files\Java\jre1.8.0_241\bin\java.exe" -Djava.ext.dirs=lib -Dsun.java2d.noddraw -cp designer.jar designer.gui.Ctc
:: This works for Windows 32 bit
"C:\Program Files (x86)\JMRI\LaunchJMRI.exe" designer.gui.Ctc
:: This works for Windows 64 bit
:: "C:\Program Files\JMRI\LaunchJMRI.exe" designer.gui.Ctc
Regards
Scott Rose