Http://forums.sun.com/thread.jspa? Threadid = 661574
When the secondary node is quickly completed, blue screen restart may occur.
Solution:
1.Start-> Control Panel-> System
2. ClickAdvancedTab
3. ClickEnvironment VariablesButton
4. ClickNewButton
5.Variable name:_ Java_options
6.Variable value:-Dsun. java2d. d3d = false
7. ClickOKButton.
8. ClickOKButton.
9. ClickOKButton.
1) install j2se
Including JDK (j2se Development Kit and j2se Runtime Environment) installation.
In addition to the installation path, all other methods are installed by default.
When installing j2se runtime environment, you can select a browser as the plug-in. However, after installation, you can change this setting in the Java (TM) control panel.
2) install jbosside basic development tool eclipse
Decompress the package directly to any directory.
The installation path should not contain spaces, but it does not matter.
3) install the extension development tool myeclipse
Select the eclipse installation path as the target.
Select the installation path of myeclipse at will. It is recommended that there be no spaces in the installation path, but it does not matter.
Select export cut folder on the desktop.
Others are default.
4) install the JBoss Server
Decompress the JBoss Installation File. Remember that the installation directory cannot contain spaces.
To the c: \ 0jasonli \ J2EE \ jboss-4.0.4.CR2 \ bin directory, double-click Run (in the pop-up command window, press Ctrl + C to close the service) to start the default service, enter http: // localhost: 8080/in IE. If the JBoss page is displayed, the server is successfully installed.
5) Configure development tools and servers
(1) to use some new features of JDK, click Properties under the project in the myeclipse menu, in the pop-up dialog box, select the building under Java compiler, click Configure workspace settings connection on the right, select compiler on the left, and select 5.0 for Compiler compliance level on the right.
(2) copy the default under c: \ 0jasonli \ J2EE \ jboss-4.0.4.CR2 \ Server and rename the name of the server you want, such as myservertest, the site deployed as the Program .
(3) the 5th icons in the toolbar of myeclipse are used to switch the server. Click it, click Configure server, and click jboss4 in the preperences dialog box, select enable in the JBoss server bar, JBoss home directory select JBoss installation directory such as C: \ 0jasonli \ J2EE \ jboss-4.0.4.CR2, server name enter your server name myservertest, other default.
In the preperences dialog box, click the JDK entry under jboss4 and click the Add button. Select the version of your virtual machine for the JRE type. My JRE is jre1.5.0, so select standard VM, for the JRE name item, enter a name such as JDK 1.5.0. For the JRE home directory item, select the JDK installation directory such as c: \ 0jasonli \ J2EE \ Java \ jdk1.5.0. For other default items.
(4) create a project named myprojecttest. The 4th icons in the toolbar of myeclipse are used to deploy the project to the server. Click it. Select your project name myprojecttest as the project item and click Add, in the displayed dialog box, select jboss4 as the server entry.
(5) Use myeclipse to open the server. You can also CD to the C: \ 0jasonli \ J2EE \ jboss-4.0.4.CR2 \ bin directory in the Command window, execute the "run-C your server name" command to start your server. Or create a Suffix in the bin folder. the bat batch file is used as a shortcut to call run. The "-C your server name" command is added to it. You can start your service by double-clicking this command. Or right-click Run in the bin folder. bat selects create shortcut, right-click the shortcut, select properties, and write "-C your server name" behind the target text box. Then double-click this button to start your service.
(6) type http: // localhost: 8080/myservertest in IE to view your webpage.