Thread: How to Jar Using Intellij IDEA

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1 How to Jar Using Intellij IDEA 
    Registered Member
    shed's Avatar
    Join Date
    Dec 2010
    Posts
    1,837
    Thanks given
    504
    Thanks received
    575
    Rep Power
    5000
    This is a tutorial on how to produce a JAR file using IntelliJ IDEA, instead of using a jar maker.

    Now, let's get started!


    Go to File --> Project Structure




    Under Project settings on the far left, click Artifacts



    Now click on the green add button , click on JAR, then from modules with dependencies


    Now, fill in the form you get with the main class that will launch when the jar is clicked then click ok.



    alright :

    • Name : Specify the name of the jar that will be produced
    • Output Directory : where the jar will be produced in which directory.
    • build on make : if you tick this, every time you run the main class automatically the jar will be produced to be up to date
    • Main class : the class that will be launched when the JAR will be clicked




    Now click OK and you're done!

    If you didn't click build on make, to produce the JAR click build ----> build artifacts and click build and the JAR will be produced.

    If you did check the build on make, every time you run the class it will produce the JAR automatically


    Hope this helped who is using Intellij IDEA and unwary of this feature.

    Cheers !



    Note : some parts of the Images have been crossed out due to a private project I am working on.
    "We don't submit to terror. We make the terror." - #FU2016
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Aug 2007
    Posts
    4,142
    Thanks given
    0
    Thanks received
    64
    Rep Power
    0
    even jarmmaker is faster than this nonetheless good job
    Reply With Quote  
     

  3. Thankful users:


  4. #3  
    The internet's reject
    Andy's Avatar
    Join Date
    Jun 2007
    Age
    31
    Posts
    4,376
    Thanks given
    148
    Thanks received
    1,522
    Rep Power
    3133
    wtf is with this section
    What am I watching now?

    Reply With Quote  
     

  5. #4  
    Registered Member
    shed's Avatar
    Join Date
    Dec 2010
    Posts
    1,837
    Thanks given
    504
    Thanks received
    575
    Rep Power
    5000
    Quote Originally Posted by word View Post
    even jarmmaker is faster than this nonetheless good job
    how is jarmaker faster, this is a process of 20-35 seconds at first only, then later on it will automatically generate it.

    I find this way more convenient;However, that's just my opinion.
    "We don't submit to terror. We make the terror." - #FU2016
    Reply With Quote  
     

  6. Thankful user:


  7. #5  
    Banned

    Join Date
    Aug 2007
    Posts
    4,142
    Thanks given
    0
    Thanks received
    64
    Rep Power
    0
    Quote Originally Posted by Shed View Post
    how is jarmaker faster, this is a process of 20-35 seconds at first only, then later on it will automatically generate it.

    I find this way more convenient;However, that's just my opinion.
    nice nice, good job
    Reply With Quote  
     

  8. #6  
    Registered Member

    Join Date
    Sep 2010
    Posts
    1,248
    Thanks given
    537
    Thanks received
    179
    Rep Power
    106
    Quote Originally Posted by Andy View Post
    wtf is with this section
    Two main reasons
    • Its not like Jarring is specific to one development section i.e 317 or 562+, and there's no need to duplicate it.
    • Jarring is a process/theory/applicationing of Java not RuneScape ergo it belongs in this section.
    Reply With Quote  
     

  9. #7  
    The internet's reject
    Andy's Avatar
    Join Date
    Jun 2007
    Age
    31
    Posts
    4,376
    Thanks given
    148
    Thanks received
    1,522
    Rep Power
    3133
    Quote Originally Posted by Kurdz View Post
    Two main reasons
    • Its not like Jarring is specific to one development section i.e 317 or 562+, and there's no need to duplicate it.
    • Jarring is a process/theory/applicationing of Java not RuneScape ergo it belongs in this section.
    That has nothing to do with what I said, I asked because trivial bullshit like this gets posted over and over again in this section.
    What am I watching now?

    Reply With Quote  
     

  10. Thankful user:


  11. #8  
    Registered Member
    medic's Avatar
    Join Date
    Sep 2013
    Posts
    1,584
    Thanks given
    821
    Thanks received
    560
    Rep Power
    1129
    nice release, quicker to use eclipse tho i'd say


    Reply With Quote  
     

  12. #9  
    Registered Member
    shed's Avatar
    Join Date
    Dec 2010
    Posts
    1,837
    Thanks given
    504
    Thanks received
    575
    Rep Power
    5000
    Quote Originally Posted by Andy View Post
    That has nothing to do with what I said, I asked because trivial bullshit like this gets posted over and over again in this section.
    over and over? well look at this [Only registered and activated users can see links. ]

    i think this is the only one.
    "We don't submit to terror. We make the terror." - #FU2016
    Reply With Quote  
     

  13. #10  
    Registered Member

    Join Date
    Sep 2010
    Posts
    1,248
    Thanks given
    537
    Thanks received
    179
    Rep Power
    106
    Quote Originally Posted by Andy View Post
    That has nothing to do with what I said, I asked because trivial bullshit like this gets posted over and over again in this section.
    @That has nothing to do with what I said,

    I just re-read it sorry i thought you stated 'why is this in this section' rather than 'whats with this section'.

    @gets posted over and over again
    Actually there is only another for Eclipse, this is for IntelliJ.

    @Trivial?

    Its the same factor as people who use notepad and batch processors to compile Java programs or any other language rather than using an IDE which is built for this purpose.

    This:
    • Increases speed - for those who have to repeat the process of jarring in JarMaker. After the first creation process, it is saved just like being able to Run a applet/application on a IDE.
    • Saves from having two applications loaded at the same time.
    • A feature of an IDE which is dedicated to Java programming developed by programmers e.g. increasing future features.
    • The amount of options it allows is heavily more than JarMaker e.g. [Only registered and activated users can see links. ]


    Efficiency is vital.
    Reply With Quote  
     

  14. Thankful user:


Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. How to Jar + Sign your clients.
    By ZachHaley in forum Tutorials
    Replies: 19
    Last Post: 07-27-2014, 12:35 AM
  2. How to we use XML?
    By Sub in forum Application Development
    Replies: 17
    Last Post: 12-09-2009, 12:59 AM
  3. How to JAR class files..
    By Runebay™ in forum Help
    Replies: 3
    Last Post: 11-25-2009, 11:34 PM
  4. How to Add/Use Graphic Masks (Players)
    By SWAT in forum Tutorials
    Replies: 19
    Last Post: 11-20-2009, 08:29 AM
  5. How To Portforward Using Linksys
    By Mason in forum Tutorials
    Replies: 2
    Last Post: 05-31-2008, 02:38 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •