Книга: Learning GNU Emacs, 3rd Edition
9.5.5.1 JDK tools.jar problems
9.5.5.1 JDK tools.jar problems
The compilation feature requires access to the tools.jar file (or the equivalents built-in to some JDKs). If the JDEE compile command fails with an error message about not being able to find the tools.jar file, your best bet is to customize the JDEE variable jde-global-classpath. Make sure that variable includes the tools.jar file.
For some systems that do not have a tools.jar file[66], you can steal that file from another machine, but usually you just need to get your classpath and registry entries set up correctly. Customizing the variables in Table 9-6 should get you compiling and running without too much effort.
Table 9-6. JDEE variables to customize
JDEE variable | Sample values |
---|---|
jde-global-classpath | /usr/local/j2se:. |
jde-jdk-registry | Version = 1.4.2 |
Path = /usr/local/j2se |
Whew! That was a lot of work. But the good news is that once you've made it through the installation process, you have all the spiffy features of the JDEE forever at your command. So let's get on with the features!
- Appendix B. Common problems and questions
- System tools used for debugging
- Other debugging tools
- Problems loading modules
- mIRC DCC problems
- CHAPTER 12 System-Monitoring Tools
- Group Management Tools
- User Management Tools
- Controlling Services at Boot with Administrative Tools
- Troubleshooting Runlevel Problems
- Graphical Process and System Management Tools
- KDE Process- and System-Monitoring Tools