Thursday, July 23, 2015

Derby db start under Ubuntu

Start JavaDB (Derby DB) under Ubuntu
add into file /usr/lib/jvm/java-8-oracle/jre/lib/security/java.policy following string

permission "localhost:1527", "listen";

To perform execute this:
alxr@alxr-dell:~$ sudo gedit /usr/lib/jvm/java-8-oracle/jre/lib/security/java.policy 

Pathes could vary
To make sure run sysinfo:
Start server from point where you have right to write.
For example you can create folder for database in home folder (for me it's /home/alxr):

Now you can run:

Leave this window alone. Server works, any further movements you should do in other  windows.

No comments:

Post a Comment