Java tutorial - creating .jar files with eclipse

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
20,742
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 28, 2009

http://users.telenet.be/UMakeIT/
This link leads to my website, there you'll find extra information, downloadable .java files...

In this tutorial I'll show you how to create an executable .jar file

Category:

People & Blogs

Tags:

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:

Uploader Comments (12SamP12)

  • mine isnt executable, i did exactly as you did but it still becomes a normal .jar file.

    When i double click on it my unzip program opens it. What did i do wrong?

  • You should go to the settings of your unzipprogram and search for file association. There you should uncheck ".jar".

    This video isn't made to explain how to make an executable. Java programs are ".jar" files.

  • When I try to excecute the .jar, this show me a message, "Could not find the main class: Calculadora. Program will exit." I don't know what to do!!

  • Are you sure you did the step at 1:05 right?

Top Comments

  • Haha, zie ik toch ineens het woord bureaublad staan!

see all

All Comments (26)

Sign In or Sign Up now to post a comment!
  • Error cannot find main class

  • i have 3 FILES AND IT FUCKING NEVER WORKS

  • this is dumb not everybody uses fucking eclipse to code their stuff

  • @12SamP12 @12SamP12 yea same thing happened to me. It won't run because of there is no main class.

  • When i try to open it on another computer i get a error, this is only fot use by the creator.

  • Met wat kan je dat openen op je PC?

    Als ik het open met Java Platform SE binary gebeurt er niets,

    en als ik het open met Kemulator zegt die: "Can not find MIDlet class.

    Plz check jad or use -midlet param.

  • Tried this and It won't load my images.

  • ok this is my issue. I can create the jar file but i have texts attached to it. i dragged my text files into scr and just set the path to "file.txt" instead "C://FOLDER//program//scr" what ever. how can i get it to run on any computer without having to set a path where the text files are. just package it into the program

  • Awesome!!!! I've always wanted to know how to do this... luckily it looks super easy! Thanks!

  • Thanks it workedddddddddd liked!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more