Configure the derby database in Eclipse and MyEclipse

Source: Internet
Author: User
I saw a document today, which provides an example using the derby database. The development tool is Eclipse (3.3.0) and MyEclipse (6.0) is used in the project. In order to see its functions, I configured the environment and found several error-prone problems. First, copy the derby plug-in to the MyEclipse plugins package, and then

I saw a document today, which provides an example using the derby database. The development tool is Eclipse (3.3.0) and MyEclipse (6.0) is used in the project. In order to see its functions, I configured the environment and found several error-prone problems. First, copy the derby plug-in to the MyEclipse plugins package, and then

I saw a document today, which provides an example using the derby database. The development tool is Eclipse (3.3.0) and MyEclipse (6.0) is used in the project. In order to see its functions, I configured the environment and found several error-prone problems. First, copy the derby plug-in to the MyEclipse plugins package, and then open mylipse IN THE MyEclipse directory. ini configuration file:


-Showsplash
Com. genuitec. myeclipse. product
-- Launcher. XXMaxPermSize
256 M
-Vmargs
-Dosgi. requiredJavaVersion = 1.5
-Xms128m
-Xmx512m
-Dosgi. splashLocation = e:/MyEclipse 6.0.0 M1/eclipse/MyEclipseSplash.bmp
-Duser. language = en
-XX: PermSize = 128 M
-XX: MaxPermSize = 256 M

Add-clean under mb. Note that I added it to MB at the beginning, but I restarted several times of MyEclipse, which means I couldn't add it. Then I added it below, I haven't figured it out yet. I hope you can give me some advice! After configuration, restart MyEclipse and right-click the project. If the Apache Derby option is displayed, the configuration is successful! Then load it into the project. During running, note that you must first start tomcat of MyEclipse before starting the derby database, because MyEclipse is more aggressive, I always think that I am the first connection to start. If I start the derby database first, MyEclipse tomcat will not start!
In addition, if it is Eclipse, the configuration is basically the same, that is, when running the project, you can start the derby database and Eclipse tomcat in no particular order, because the Eclipse tomcat does not seize the first connection!

Note that the preceding configuration is very important. After you click the myeclipse shortcut, an English prompt is displayed indicating that java cannot create a VM. This is a shortcut. Click C: /Program Files/MyEclipse 6.0/eclipse to enter the eclipse shortcut.


Http://www.javaeye.com/topic/150571

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.