virtual server in IntelliJ

Answered

Hello! I'm learning java by the manual, originally written for NetBeans, thus transferring the manual to IntelliJ IDEA. I came to the point, that I need your help.
Here's an extract from the manual. What would you recommend to apply this to IntelliJ.

"JDBC allows you to connect to a wide-range of databases (Oracle, MySQL, etc), but we're going to use the in-built database you get with the Java/NetBeans software. The database is called Java DB, a version of Apache Derby. It runs on a virtual server, which you can stop and start from within NetBeans.

To check that you have everything you need, have a look at the Services tab in NetBeans. If you can't see the Services tab, click Window from the NetBeans menu. From the Window menu, select Services..."

Does IntelliJ have something like this virtual server, either Community or Ultimate version?

Thank you!

0
1 comment

Java DB is no longer included with the recent JDK versions.

Since it's basically the same as Apache Derby, you can configure the Apache Derby database in IntelliJ IDEA Ultimate like this:

See https://www.jetbrains.com/help/idea/data-sources-and-drivers-dialog.html for more details.

Once created, you can copy/paste this URL and use in your application code in place of JDBC driver URL.

0

Please sign in to leave a comment.