1

I made a simple "Hello World" program in e(fx)clipse, and created an executable Jar file. When I run it on Windows, it works fine, but when I try to do the same in Ubuntu - nothing happens.

I have OpenJDK-8 installed.

Also, when I type java -jar helloWorld.jar inside the Terminal, I get an error saying: Could not find or load main class application.Main

Again, in Windows everything works fine. What am I doing wrong?

OmriSoudry
  • 361
  • 3
  • 13

0 Answers0