Linux Section Index | Page 4
How do you get profiling to work with the Linux JVMs? The standard bundled profiler, hprof, fails to generate useful output for the options.
How do you get profiling to work with the Linux JVMs? The standard bundled profiler, hprof, fails to generate useful output for the options "cpu=times" or "cpu=old" for both Sun...more
How can I reliably create files from servlets on Linux in a platform-portable way? Code that successfully creates a new file under Windows fails with permission problems under Linux.
The problem is that Linux has a real user and file system security model, and Windows does not. You cannot create files in arbitrary directories - you need to create the file in a directory writab...more
To run Apache JServ under Linux, what environment variables need to be set in the jserv.properties file? How are they set?
There are no special requirements for environment variables under Linux. If you need to set environment variables, the wrapper.env property will do the job. For example, if your servlets need an X...more
According to the Java Technology on the Linux Platform: A Guide to Getting Started document: To let your Netscape browser know where the Java plug-in library is, set the NPX_PLUGIN_PATH environme...more
The Blackdown organization Web site (http://www.blackdown.org) provides information on Linux-specific Java extensions - some on its Product Information pages and some in its download pages. Extens...more
Blackdown is the volunteer organization that, historically, has ported the Sun JDK to Linux since the days of JDK1.02. The organization's accomplishments include porting every JDK since 1.02, port...more
Which JVM implementations let you increase the number of simultaneously open files? Even with the techniques described in this discussion, some JVMs (like IBM's) allow more open descriptors, and so...more
If your program is a long-lived system daemon, you may want to write startup and shutdown scripts to start it at boot and stop it at shutdown. Most Linux distributions use the System V init mechan...more
The hard part, if you're new to it, is learning Linux. There are plenty of good resources online and in the bookstores to help you. Allow yourself the time to learn your way around this powerful e...more
You can use the invocation interface of JNI. It is well documented in the two books that I listed in the reply to your other question. The invocation interface allows you to completely initialize...more
There is no core capability in the JRE to use host authentication mechanisms, but you've got a couple of options: Write some JNI code using the native methods used by Linux applications - getspna...more
Of the JDK1.3 releases: The IBM JDK1.3 uses native threads The Sun JDK1.3 uses native threads if you run the HotSpot VM (default behavior), but you can use green threads by running the classic VM...more
A modal dialog is one that accepts input while blocking input to other application windows until it is closed. Although it would be nice for the dialog to force itself to stay on top, there is not...more
The Java implementation running in the Netscape shipped for Linux is an old JDK1.1.x implementation that has not received much recent attention. The best way to run Java under Netscape is the Java...more
The Linux JDK ignores Java thread priorities. While Linux does offer programs a certain amount of control over task priority, that control can only be fully exercised by the super-user. So the JDK...more