Hello,
I have found a free db for java : http://developers.sun.com/javadb/
Documents says that it is built-in in jdk 1.6.
How can I check that ?
Can I use it with Eclispe & Visual Editor ?
Need a code sample, please.
Thanks :)
Roedy Green - 02 Mar 2008 14:21 GMT
On Sun, 2 Mar 2008 16:07:52 +0200, "Mr. X."
<no_spam_please@nospam_please.com> wrote, quoted or indirectly quoted
someone who said :
>I have found a free db for java : http://developers.sun.com/javadb/
>
>Documents says that it is built-in in jdk 1.6.
>How can I check that ?
It comes free with the JDK 1.6.0_04
When you install the JDK you will notice you have also install the DB.
see http://mindprod.com/jgloss/jdk.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Mr. X. - 02 Mar 2008 15:57 GMT
...
and how can I check whether the db is installed,
long after the installation ?
Thanks :)
petersprc - 02 Mar 2008 19:14 GMT
You should see a directory like
C:\java\db-derby-10.1.2.1-bin
See this guide for how to get started:
http://www.informit.com/articles/article.aspx?p=730287
> ...
> and how can I check whether the db is installed,
> long after the installation ?
>
> Thanks :)
Mr. X. - 02 Mar 2008 19:46 GMT
I think I have the jdk 1.5, and not the 1.6.
O.K. next step I will install the jdk 1.6 ...
Thanks :)
Mr. X. - 02 Mar 2008 20:21 GMT
after installing from : http://java.sun.com/javase/downloads/index.jsp ->
JDK 6 Update 4 -> platform : windows ->Windows Offline Installation.
I didn't see any db related.
Arne Vajhøj - 02 Mar 2008 20:26 GMT
> after installing from : http://java.sun.com/javase/downloads/index.jsp ->
> JDK 6 Update 4 -> platform : windows ->Windows Offline Installation.
>
> I didn't see any db related.
No - it comes bundled with JRE and JDK.
Arne
Mr. X. - 03 Mar 2008 03:27 GMT
after installing JDK 1.6, as I have described.
In "C:\Program Files\Java\jdk1.6.0_04\db\demo\databases\toursdb" there are
two folders :log & seg0.
but there are no files includes.
also in folder :
"C:\Program Files\Java\jre1.6.0_04\lib" there is not any file I know.
I didn't succeed using the db yet, and I don't know whether using it is
easy, and whether it got tools to manage the db, but I hope visual editor
supports SDK 1.6 ,
otherwise I am in problem ... or I give up to some other good db.
Thanks :)
Jeff Higgins - 03 Mar 2008 03:48 GMT
> after installing JDK 1.6, as I have described.
>
[quoted text clipped - 9 lines]
> supports SDK 1.6 ,
> otherwise I am in problem ... or I give up to some other good db.
<http://db.apache.org/derby/integrate/SQuirreL_Derby.html>
Roedy Green - 03 Mar 2008 07:29 GMT
On Sun, 2 Mar 2008 17:57:08 +0200, "Mr. X."
<no_spam_please@nospam_please.com> wrote, quoted or indirectly quoted
someone who said :
>and how can I check whether the db is installed,
>long after the installation ?
look in the control panel uninstall for Java DB 10.3.1.4
check directory C:\Program Files\Sun\JavaDB
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Mr. X. - 05 Mar 2008 03:19 GMT
O.K.
I think I getting in progress ...
JavaDB is on directory : C:\Program Files\Sun\JavaDB
I have looked at the control panel, and found the version : 10.3.1.4.
I need to link it to Eclipse (My current links are jre 1.5 & visual editor
1.3).
I need some help, how to link it and use it, please.
Thanks :)
Jeff Higgins - 05 Mar 2008 03:51 GMT
> O.K.
> I think I getting in progress ...
[quoted text clipped - 6 lines]
>
> Thanks :)
<http://db.apache.org/derby/integrate/plugin_help/start_toc.html>
Mr. X. - 06 Mar 2008 15:57 GMT
Good reference.
about the link :
http://db.apache.org/derby/integrate/plugin_help/nature.html
I didn't see the appache derby on the menu.
(I have ECLIPSE 3.3.1.1).
(Is it plug-in ... I didn't understand how to represent it in menu,
even I didn't figure out how to do plug-in installation in eclipse).
Thanks :)
Mr. X. - 06 Mar 2008 16:46 GMT
Solved !
I navigated to http://db.apache.org/derby/derby_downloads.html
and put "derby core plugin" & "derbi ui plugin" to plugins directory of
eclipse.
(Why didn't you just say so before ...)
I think I will manage from now.
Thanks a lot :)
Roedy Green - 02 Mar 2008 14:23 GMT
On Sun, 2 Mar 2008 16:07:52 +0200, "Mr. X."
<no_spam_please@nospam_please.com> wrote, quoted or indirectly quoted
someone who said :
>Can I use it with Eclispe & Visual Editor ?
It is a DB like any other.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com