Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-29-2009, 02:25 PM
Member
 
Join Date: Jun 2009
Posts: 17
Rep Power: 0
etherkye is on a distinguished road
Send a message via MSN to etherkye Send a message via Yahoo to etherkye
Default Lost and confused - Java/j and mxj
To start with i'll tell you what i have.

First off my program unzips the two folders into the C drive and then loads the classes

Code:
            JarFileLoader.addFile(main,"C:/EPOS_SQL/mysql-connector-java-5.1.7/mysql-connector-java-5.1.7-bin.jar");
            JarFileLoader.addFile(main,"C:/EPOS_SQL/mysql-connector-mxj-gpl-5-0-9/mysql-connector-mxj-gpl-5-0-9.jar");
            JarFileLoader.addFile(main,"C:/EPOS_SQL/mysql-connector-mxj-gpl-5-0-9/mysql-connector-mxj-gpl-5-0-9-db-files.jar");
Next i need to connect to the database to use it.

Now i know that mxj allows me to have the database inside of itself while the program is running, but i can't find out how to start a new database.

All i seam to be able to find it methods to connect to it, but theres no point in connecting to a database that doesn't exist as it has no username nad password protecting it which i would like to set.

Also, once i load the three .jar files, do i need to do it again during the program or just the once? And do i connect to the database just the ones, or whenever i need to run a command?

I do of course have a main file running that never stops, which all the database querys can be sent through, if i can make the database...
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 07-02-2009, 07:35 PM
Member
 
Join Date: Jun 2009
Posts: 17
Rep Power: 0
etherkye is on a distinguished road
Send a message via MSN to etherkye Send a message via Yahoo to etherkye
Default
Solved the first problem.

Now i need to make a table.

Why do none of the guides seam to tell you what command to use >.<

Also, does anyone know a program to get overview of a database thats being run through mxj?
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New to java a little confused. Dometic New To Java 10 12-08-2008 12:56 AM
reading in 2 sentence for java, I am lost ... madatlis New To Java 16 10-10-2008 01:21 PM
Has Java lost its way? alexj44 Advanced Java 4 09-23-2008 02:26 PM
New to Java - totally lost as to what to download RR_QQ New To Java 1 09-04-2008 10:07 AM
I am so lost in my java class taliGLM New To Java 1 04-30-2008 11:02 PM


All times are GMT +2. The time now is 11:02 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org