I Jason got this error when using a batch file to open a .jar file
Exception in thread "main" java.lang.NoClassDefFoundError: sun/dc/path/PathException
at org.petschko.java.file.App.main(App.java:37)
Caused by: java.lang.ClassNotFoundException: sun.dc.path.PathException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 1 more
Press any key to continue . . .
I downloaded and installed Java from
x64 Windows Installer
https://www.oracle.com/java/technologies/downloads/#jdk24-windowsWindows Offline
https://www.java.com/en/download/manual.jspJava For Desktop
https://www.java.com/en/download/I restarted my computer
C:\Program Files has Java folder and its files
C:\Program File (x86) has Java folder and its Java files
I have Windows 11 Home Edition hp laptop.
How do I fix my java problem so that I can use java and open up java files again please? I Jason thank you so very much!!