Results 1 to 8 of 8
  1. #1
    ron2794 is offline Member
    Join Date
    Dec 2010
    Posts
    38
    Rep Power
    0

    Default jar files problem

    i just made a project in netbeans that use mysql as backend now i build the file which created a jar file
    now this jar file is appearing as a rar file icon in computers other than me. Now what should I do to make a system that makes it possible for my software to run on the other computers...................

    i used launch4j that created its .exe but disconnected all the links with mysql...........suggest a good way for this problem or suggest software that need to be installed on the user's PC

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    8

    Default

    Those "other" systems either have not installed Java (which they need to do) or, after installing some rar software they set the file associations for ".jar" to this rar software, rather than leaving it on Java, as it should be. They need to install Java and/or realign the file associations. IOW, not a Java question, this is an OS question.

  3. #3
    ron2794 is offline Member
    Join Date
    Dec 2010
    Posts
    38
    Rep Power
    0

    Default

    Ok , tell me some efficient way like i want that in whomsoever i give this software , its installation shouldn't be cumbersome like they have to install mysql first then setting req. pwds. and then installing JRE and then assigning the .jar to JRE SOFtware not RAR software ........

    i want this software either to be converted into exe so that he don't need to do anything or some setup procedure so that he just clik one thing and I do everything for him without making him to do so.....................

    By the way plz do tell me that : IS IT NECESSARY FOR HIM TO INSTALL MYSQL ON HIS pC

  4. #4
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    8

    Default

    Find an installer builder software and use that to build an installer to install the entire thing. And, yes, of course he will need a MySQL db if your app uses a local MySQL DB. Did you expect the program to connect to air and consider it a DB?

  5. #5
    ron2794 is offline Member
    Join Date
    Dec 2010
    Posts
    38
    Rep Power
    0

    Default

    no i am saying that can't i install some other deployable management software, i don't want to install mysql bcz its heavy..........is there any WAY ?

  6. #6
    ron2794 is offline Member
    Join Date
    Dec 2010
    Posts
    38
    Rep Power
    0

    Default

    i heard abt sqlite ,,,, is it possible with that ?

  7. #7
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    8

    Default

    Use JavaDB, it is pure Java and your program itself can be changed in such a way that it creates and populates the db on the first execution.

  8. #8
    ron2794 is offline Member
    Join Date
    Dec 2010
    Posts
    38
    Rep Power
    0

Similar Threads

  1. Replies: 3
    Last Post: 10-05-2009, 10:10 AM
  2. Problem Jar executable files
    By Manfizy in forum New To Java
    Replies: 6
    Last Post: 08-13-2009, 01:15 PM
  3. problem communication between 2 files
    By Questionmark in forum AWT / Swing
    Replies: 6
    Last Post: 07-30-2009, 11:23 AM
  4. Data Files - A problem that I dont understand :D
    By Exhonour in forum New To Java
    Replies: 7
    Last Post: 01-20-2009, 05:13 AM
  5. Problem with executing .jar files
    By hiranya in forum NetBeans
    Replies: 2
    Last Post: 10-02-2007, 07:24 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
  •