[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 496
  • Last Modified:

How do I install Java DB on a mac?

How do I install Java DB on a mac?

I'm using 1.6 jdk on my mac and working with netbeans. I want to work with a db to be embedded with my desktop software.

Any ideas on how I can achieve this?
0
mmedi005
Asked:
mmedi005
1 Solution
 
dpearsonCommented:
I'm not exactly sure what you mean by "Java DB".

If you mean a database that Java can access, then you can just install MySQL.  Step are here:
http://dev.mysql.com/doc/refman/5.0/en/macosx-installation.html

If you want to bundle a database with your Java application and deploy that on a Mac, that's much more complex - is that what you're looking for?

Doug
0
 
CEHJCommented:
If you find you haven't got

${JAVA_HOME}/db/lib/derby.jar

http://netbeans.org/kb/docs/ide/java-db.html

"Java DB is installed when you install JDK 6 (except on Mac OS X). If you are using Mac OS X you can download and install Java DB manually or use the Java DB that is installed by Java EE version of the NetBeans IDE installer."
0
 
krishna kishore mellacheruvu venkataCommented:
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now