title: "Could not find or load main class" when running executable JAR via "java -jar"
body: <p>Thats the output when i execute java -version</p>
  
  <blockquote>
    <p>openjdk version "1.8.0_252"
    OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1ubuntu1-b09)
    OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)</p>
  </blockquote>
  
  <p>When i tried to execute my file with java -jar shows me a message that can't found/load the main class. I'm sure that this works because i try it in Windows and works done. I tried in a linux machine and works too. I don't know what i am doing bad, I'm beginner with linux by the way.</p>
  
  <p>I tried to remove all the java stuff from my computer and reinstall java 8  version but still not works.</p>
  
  <p><a href="https://i.stack.imgur.com/dwVmb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dwVmb.png" alt="enter image description here"></a></p>
  
  <p>Thats how i tried to execute the command. I have one java in opt and with that one let me open it. </p>
  
  <p>As admin is the same error but in spanish.
  <a href="https://i.stack.imgur.com/PGnBc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PGnBc.png" alt="enter image description here"></a></p>
  
  <p><strong>MANIFEST</strong></p>
  
  <pre><code>Ant-Version: Apache Ant 1.9.7
  Created-By: 1.8.0_231-b11 (Oracle Corporation)
  Class-Path: lib/hamcrest-junit-2.0.0.0.jar lib/java-hamcrest-2.0.0.0.j
   ar lib/testFx-3.1.0.jar lib/testfx-core-4.0.13-alpha.jar lib/testfx-j
   unit-4.0.13-alpha.jar lib/javax.ws.rs-api-2.0.jar lib/asm-all-repacka
   ged-2.2.0-b21.jar lib/cglib-2.2.0-b21.jar lib/guava-14.0.1.jar lib/hk
   2-api-2.2.0-b21.jar lib/hk2-locator-2.2.0-b21.jar lib/hk2-utils-2.2.0
   -b21.jar lib/javax.annotation-api-1.2.jar lib/javax.inject-2.2.0-b21.
   jar lib/javax.servlet-api-3.0.1.jar lib/jaxb-api-2.2.7.jar lib/jersey
   -entity-filtering-2.5.1.jar lib/jersey-media-moxy-2.5.1.jar lib/org.o
   sgi.core-4.2.0.jar lib/osgi-resource-locator-1.0.1.jar lib/persistenc
   e-api-1.0.jar lib/validation-api-1.1.0.Final.jar lib/jersey-client.ja
   r lib/jersey-common.jar lib/jersey-container-servlet.jar lib/jersey-c
   ontainer-servlet-core.jar lib/jersey-server.jar lib/eclipselink.jar l
   ib/UtillitiesProject.jar
  X-COMMENT: Main-Class will be added automatically by build
  Main-Class: windowsapplication.WindowsAppicationReto2
  </code></pre>
  
  <p>Any idea?</p>