How to run a program by 'clicking' on an icon

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • enzoJava
    New Member
    • Nov 2006
    • 4

    How to run a program by 'clicking' on an icon

    Hii, i was wondering if there is a way to run a java program by just double clicking on an icon
    i have a program that i want to run on an old PC, and i dont want to download a compiler, just need to run the program without JCreator or the Command Prompt

    Plz let me know if there is a way to do this
    Thank you =]

    -Enzo
  • sivadhas2006
    New Member
    • Nov 2006
    • 142

    #2
    Hi,

    Try to create a jar file with Main-Class in the manifest file.

    Regards,
    M.Sivadhas.

    Comment

    • padmanabhanp
      New Member
      • Nov 2006
      • 14

      #3
      I think it is possible. Just convert your java file into an exe. Then it is possible i think so

      By,
      P.Padmanabhan

      Comment

      • alj
        New Member
        • Nov 2006
        • 4

        #4
        convert java file into an exe? i dont think so.. how? i think creating a jar file for that will do or in windows, create a batch file..

        Comment

        Working...