Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. Java project packaging

Java project packaging

Scheduled Pinned Locked Moved Java
questionjavatutorialworkspace
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sebuliba_f
    wrote on last edited by
    #1

    I am developing a java application which after developing i want to sell off to some organisation, but i dont know how to package all my project files into one file for commercial because i dont think they need to be viewing my source code. How can i pack them all in one setup file? :(

    L T T R 4 Replies Last reply
    0
    • S sebuliba_f

      I am developing a java application which after developing i want to sell off to some organisation, but i dont know how to package all my project files into one file for commercial because i dont think they need to be viewing my source code. How can i pack them all in one setup file? :(

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      The simplest way is to put all your classes into a java archive via the jar command. You then need to send only the jar file(s) to your customers; see http://docs.oracle.com/javase/tutorial/deployment/index.html[^]. You could also try a Google search to see if there are any other setup applications applicable to Java apps.

      1 Reply Last reply
      0
      • S sebuliba_f

        I am developing a java application which after developing i want to sell off to some organisation, but i dont know how to package all my project files into one file for commercial because i dont think they need to be viewing my source code. How can i pack them all in one setup file? :(

        T Offline
        T Offline
        TorstenH
        wrote on last edited by
        #3

        Do NOT include your source files. Only compiled files should be in the setup. Make sure resources and config files are in and accessible. Use Launch4j[^]. It's common used for creating a setup. If you want to protect your code further on, use an obfuscation tool like ProGuard[^]. It will make the compiled code unreadable.

        regards Torsten I never finish anyth...

        1 Reply Last reply
        0
        • S sebuliba_f

          I am developing a java application which after developing i want to sell off to some organisation, but i dont know how to package all my project files into one file for commercial because i dont think they need to be viewing my source code. How can i pack them all in one setup file? :(

          T Offline
          T Offline
          Tushar Guru
          wrote on last edited by
          #4

          Hi, You can find out some ready made tool to do this. i think you will find best tool for that.

          1 Reply Last reply
          0
          • S sebuliba_f

            I am developing a java application which after developing i want to sell off to some organisation, but i dont know how to package all my project files into one file for commercial because i dont think they need to be viewing my source code. How can i pack them all in one setup file? :(

            R Offline
            R Offline
            Raushank03
            wrote on last edited by
            #5

            This is usefull to your learning... http://techgurulab.com/course/java-study-material/[^]

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups