1. Download the Java SE Development Kit 6 Update 20 and netbeans ide 6.9 software packages:
Jdk-6u22-nb-6_9_1-solaris-x86-ml.sh
Netbeans-6.9.1-ml-solaris-x86.sh
2. Install JDK and netbeanside. After installation, it cannot be debugged. You need to install the debugger:
# Sh
Jdk-6u22-nb-6_9_1-solaris-x86-ml.sh
# Sh
Netbeans-6.9.1-ml-solaris-x86.sh
3. Install the gdb6.8 debugger, decompress the following installation package, and use all the options when installing the installation package:
# Pkgadd-d Installation Package name
A)expat-2.0.1-sol10-x86-local.gz;
B )gcc-3.4.6-sol10-x86-local.gz;
C)libiconv-1.13.1-sol10-x86-local.gz;
D)libintl-3.4.0-sol10-x86-local.gz;
E)ncurses-5.7-sol10-x86-local.gz;
Fw.gdb-6.8-sol10-x86-local.gz.
4. Check whether GDB is successful. Run the command GDB-V. The following information is displayed after the command is successful:
Gnu gdb 6.8
Copyright (c) 2008 Free Software Foundation, Inc.
License gplv3 +: gnu gpl Version 3 or later This is free software: You are free to change and redistribute it.
There is no warranty, to the extent permitted by law. Type "show copying"
And "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.10 ".
5. netbeans ide configuration and application testing
A) Option Configuration
B) create a project
C) generate
D) debugging