How to configure javadb in eclipse(part2)?

╄→尐↘猪︶ㄣ 提交于 2019-11-29 15:01:52

I had been trying with your current code and found that the exception happens when the server is not being started. The way to solve this is start the server in a simple way:

Go to the lib folder in the extracted folder of derby server download over command prompt. For me it was as follows:

C:\>cd opt\db-derby-10.11.1.1-lib\lib

C:\opt\db-derby-10.11.1.1-lib\lib>java -jar derbyrun.jar server start
Sat Oct 03 16:26:29 IST 2015 : Security manager installed using the Basic server security policy.
Sat Oct 03 16:26:29 IST 2015 : Apache Derby Network Server - 10.11.1.1 - (1616546) started and ready to accept connections on port 1527

There is a different way by which you can start the server in Eclipse. You would need to install plugin and then start the server. The following references should help you:

Derby Plugin How To
Getting Started with Derby Plugin for Eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!