Rebuilding development environment

xiaoxiao2021-03-06  42

After a few months, Java technology should already have a growing development. I am a person who likes to catch the trend, so I decided to first use the new version of the platform and tool. A circle is found online, in accordance with the principle of stabilizing the first, less pirated second, determining the following combination.

OS: Windows XP SP2. The first is that piracy is really embarrassed, but I really can't choose the platform of Linux stream. After all, it is not a pure technician. Many of my work has to do it under Windows. Who called M $ is really fucking, selling an operating system so expensive in China.

JDK: 1.5.0_01. It is said that 5.0 has added a lot of new features, of course, taste it.

Ide: eclipse3.0.1. In fact, I have used 3.1m1 a few months, but I feel unstable, so I still use 3.0. I used to use a large pile of plugins such as Lomboz, TomcatPlugin, Xmlbuddy, Strutsconsole, but there is always more or less problems. Sorry, I have a Myeclipse3.8.3, and I feel very good.

Web container: Of course, use Tomcat, since JDK rose to 5.0, this Dongdong also uses 5.5.7.

Ok, I want to start it.

Oh, it's not a writing tutorial, just summarizes the experience and encounter problems.

1. The Java running environment used in Eclipse is different from Windows. I started to encounter such a problem, starting a JSP file after starting Tomcat in Eclipse, is always an error, and the error is "There may be no Java_Home environment variable", but in Windows starts Tomcat. There is ok. And the most important thing is that this file is wrong, and the application comes with the Tomcat itself is good. This page is just a page that tests JNDI. Finally, I found that there is a problem with the "Installed JRE" in Eclipse, and the problem is solved after the problem is corrected. But now I don't know why it is, and why is this wrong or not.

2, do not configure DataSource in Struts. It is also because configured that DataSource has spent a lot of energy in Struts to get this conclusion. Because when looking up the Struts document, found Struts 2.0 no longer uses , it is also true, the data layer does not turn to Struts.

3. Originally, Eclipse has played Chinese packages, and the results found that there was a Chinese interface after MYECLIPSE, which was very wonderful. I thought it was a Chinese package plug-in problem, and the Chinese package still can't solve the problem. I still want to think about it. Anyway, I also know, once an accidental chance I started directly from the Eclipse directory, and the results found that the interface became Chinese. Is there a problem with myECLIPSE's launch command, a start-up parameter, really:

D: /eclipse/eclipse.exe -vmargs -duser.language = en-xmx512m -dosgi.splashLocation = "c: / program files / myeclipse / eclipse / myeclipsesplash.bmp"

Change -Duser.language = EN to -duser.language = zh_cn, everything is OK.

转载请注明原文地址:https://www.9cbs.com/read-52574.html

New Post(0)