Java chat and help thread

TornadoMan

  • Posts: 212
I Jason got this error when using a batch file to open a .jar file

Code: [Select]



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-windows



Windows Offline https://www.java.com/en/download/manual.jsp



Java 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!!
My name is Jason & (and) I am from N. USA & I live in N. USA & I was born in N. USA
http://community.stencyl.com/index.php/topic,31002.new.html#new < awesomest Stencyl suggestions ever.