Linux Section Index | Page 5
How can I increase the number of sockets and files that I can simultaneously have open under Linux?
Linux 2.2.x kernels allow control of the maximum number of open files through the /proc/sys/fs/file-max pseudo-file. Read that file to see the current limits; write a new value to it to change the...more
How can I increase the number of threads that I can run in my Java applications under Linux?
You can build a custom kernel with higher limits. In the include/linux/tasks.h file within a kernel source tree, you can increase the total number of system tasks (the NR_TASKS variable) up to 409...more
How can I take advantage of shared memory support in my Java applications under Linux?
Java doesn't tend to expose OS-specific features like shared memory. You always have the option to allocate, manage, and use blocks of shared memory within JNI code (see the native shmget() and re...more
What is Linux?
Linux is a Unix-like operating system created by Linus Torvalds. The kernel and main systems libraries are distributed under the GNU Public License, one of the most popular of the Open Source lic...more
What is the best JRE for client/GUI applications under Linux?
You probably won't find universal agreement on an answer, but the Sun JDK1.3 does claim to target client-side performance with the HotSpot JIT. Unless you launch with the -server option, you'll be...more
What is the best JRE for server applications under Linux?
You probably won't find universal agreement on an answer, but the Sun JDK1.3 does claim to target server-side performance with the HotSpot JIT when you launch with the -server option.more
How can I fix the error: "Font specified in font.properties not found
How can I fix the error: "Font specified in font.properties not found
+[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]"?
What causes the error "Can't connect to X11 window server"?
The Sun AWT classes on Unix and Linux have a dependence on the X Window System: when you use the classes, they expect to load X client libraries and be able to talk to an X display server. This ma...more
Is there any file in Linux where I can read my Operating System Resources (type of CPU, RAM...)?
The Linux /proc file system provides extensive access to information about the system and individual processes. Some examples:
/proc/cpuinfo describes the CPU
/proc/meminfo describes current memo...more
Can I install multiple Java environments on my Linux box?
Yes... the trick is not to get confused about which one
you are using. There are basically three environment
variables that are important in choosing your Java
environment:
PATH controls where ex...more
When the Sun JDK is installed and used according to directions, it doesn't work as advertised: java, javac, appletviewer, or other tools fail to find core classes and generally don't work in expected ways. What's the problem?
This is usually caused by having Kaffe installed on your system in addition to the Sun JDK - Kaffe's versions of java, javac, appletviewer and such do not support the full JDK1.2 spec, and may rep...more
What JIT compilers are available for Linux?
Just-in-time compilers are available for Linux
on x86 and Alpha platforms.
For x86, there are
two open-source and two commercial (no-charge)
compilers:
The open-source
tya compiler
can be built f...more
What IDEs (Integrated Development Environments) are available for Linux?
Any IDE that runs on the Java platform should work
with Linux. Popular offerings on Linux include
Inprise
JBuilder,
Sun Forte,
NetComputing's
AnyJ, and
DataRepresentation's
Simplicity.
For those ...more
How do I set up Servlets on Linux?
There are many products which support servlets on Linux. Most of them operate either in a standalone mode (acting as both web server and servlet engine) or as a back-end servlet engine plugging i...more
Can I create native Linux programs from Java?
Yes. The Gnu
Compiler for Java generates native code from Java
sources or classfiles. The runtime environment for
these executables is not fully JDK1.2-compliant,
but it is usable and constantly i...more