-7

I downloaded this file from a website ! The problem is that I have no knowledge of java :p ! ( I cannot execute that file )

Here's the file:

Atome.jar

When I double click, nothing happens !! Please guys help me !

Maher Abuthraa
  • 17,493
  • 11
  • 81
  • 103
  • 2
    And this is how viruses are spread... – Aidin Nov 05 '16 at 20:34
  • @Aidin And sadly , there's always some poeple smart enough to execute it... – Treycos Nov 05 '16 at 20:35
  • @Aidin I swear it's not a virus ! if u doubt that don't download it but just tell me what to do in order to make it executable ! – Ahmed Amouchi Nov 05 '16 at 20:37
  • The thing is: if you don't know what you are doing; then consider **not** doing it! And you know "running" a jar file is like super basic stuff, it would take you **less** time to do research on that than writing up a question you will only get beaten up for here ... – GhostCat Nov 05 '16 at 20:40
  • here is a post you may read: http://stackoverflow.com/questions/5258159/how-to-make-an-executable-jar-file – Aidin Nov 05 '16 at 20:40
  • do you know where i could find an answer? – Ahmed Amouchi Nov 05 '16 at 20:41
  • Aidin please explain this : To make a jar file executable, you need to specify where the "main" Class is in the jar file. i mean how do i know which is the main class ?? – Ahmed Amouchi Nov 05 '16 at 20:45

1 Answers1

0

This jar was not created to be executed with a simple double-click but probably to be used in a program. In fact, in the Manifest file which is in the jar, there are no Main class defined and none of the class files in the jar is the Main class (I tried with the 3 principal classes)

So, this jar is probably just a library that should be used by a developer

Aegefel
  • 101
  • 1
  • Thank you for the answer ! I downloaded that jar for this website http://gilbert.gastebois.pagesperso-orange.fr/java/atome/atome.htm i'm trying to grab the animation so i thought that file is what i'm looking for ! – Ahmed Amouchi Nov 05 '16 at 22:00
  • That web page shows the true answer -- it uses the the jar as a Java *applet*. In the old days, your browser would use a Java plug-in to load an applet and show it on a web page. Java applets and the Java plugin have caused many security problems, and modern browsers will not allow this kind of content. – RJHunter Nov 07 '16 at 21:43