Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: MS ACCESS + JAVA

  1. #1
    Junior Member DeniLeet's Avatar
    Join Date
    May 2013
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default MS ACCESS + JAVA

    Hello.I have created Ms access database and my aplication works well but i want to know if it is possible to use it on another PC too . I mean somehow replace the aplication with database.I have thought about making setup.exe and it would install the aplication with database.


  2. #2
    Member
    Join Date
    Jul 2013
    Posts
    219
    Thanks
    0
    Thanked 18 Times in 17 Posts

    Default Re: MS ACCESS + JAVA

    Hello.
    Do you mean you want to run the application on another machine? And the database will remain on first machine or will it be setup as well on another machine?
    Please clarify the question once.

    Syed.

  3. #3
    Junior Member DeniLeet's Avatar
    Join Date
    May 2013
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: MS ACCESS + JAVA

    Yes i would like to setup it on another machine.

  4. #4
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: MS ACCESS + JAVA

    Are you suggesting you want an Embedded database? Are you wishing to deploy this to a single machine or deploy it to 'n' number of machines? MSAccess is commercial and licensed software, so the client machine must have a valid license. Further, MSAccess is a Windows only, thus if you wish to deploy to any number of client machines doing so restricts your users to Windows only. If all is well, then just install the database along with your application (for instance, create a setup.exe or when your application starts check if DB exists and if not create it)

  5. #5
    Junior Member
    Join Date
    Oct 2013
    Posts
    11
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: MS ACCESS + JAVA

    You can not create setup.exe in java. Executable jar can be created in java. And if everything is fine with your application then why are you using type 1 driver for DB. It is slowest and now there is type 4 driver to make db connections. Try to use them.
    Last edited by copeg; November 9th, 2013 at 10:49 AM. Reason: Removed link

Similar Threads

  1. how to access array f objects in java
    By Fanta Hubert in forum What's Wrong With My Code?
    Replies: 18
    Last Post: May 27th, 2013, 09:36 PM
  2. Java Native Access and arrays
    By p0llux in forum Java Native Interface
    Replies: 0
    Last Post: September 13th, 2011, 01:29 AM
  3. Java Web Start app exiting with access denie (java.lang.RuntimePermission
    By sonaljain in forum What's Wrong With My Code?
    Replies: 2
    Last Post: June 13th, 2011, 08:43 PM
  4. Help with java retrieving from Ms Access
    By dever in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 6th, 2011, 11:40 AM
  5. Default Access (package access) confusion
    By gauravrajbehl in forum Java Theory & Questions
    Replies: 1
    Last Post: November 18th, 2009, 04:11 AM