Linux Section Index
Can I run a JDK under FreeBSD?
Yes. Ports of the Sun JDK for FreeBSD are published at this site.
Can I cut, copy, and paste between AWT and other X applications under Linux?
Yes - sometimes it's easy, and sometimes not. X has two commonly used mechanisms for copying and pasting between applications, which can be a bit confusing:
The primary selection: this is typical...more
Why has the -Xnoagent option gone away in JDK1.3.1?
That option is only meaningful with a JVM running green threads. JDK1.3.1 only ships a HotSpot JVM running native threads.
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
Where can I learn (more) about using Java's JNI (Java Native Interface) to interface Java with platform native code?
Check out the jGuru JNI FAQ.
Where can I learn (more) about dealing with 2D (two dimensional) and 3D (three dimensional) images, sound, speech, telelphony, and the rest of Java's support for advanced media handling?
Where can I learn (more) about dealing with 2D (two dimensional) and 3D
(three dimensional) images, sound, speech, telelphony, and the rest of
Java's support for advanced media handling?
Where can I learn (more) about Java running on IBM's AS/400 series computers?
Check out the jGuru Java400
FAQ.
Where can I learn (more) about Java's AWT (Abstract Window Toolkit)?
Check out the jGuru AWT FAQ.
How can I limit the size of a growing logfile Java creates on Linux? Can I have a file that "loses" data at the beginning to keep it from growing past a certain size?
Files don't work that way, but you can rotate logs to keep the size under control. You have a couple of ways to do that easily:
The log4j package supports log rotation
If you're working in a JDK1...more
What is the thread limit in Sun's jdk1.3 on Linux?
The limit on native threads comes from the system, not from Java. See this FAQ entry for a discussion of managing thread limits.
There is no limit on creation of green threads, other than availabl...more
Can I have Java Web Server on Linux?
According to Sun's Java Web Server FAQ:
No. There is no supported version of Java Web Server for Linux, but there are customers who have successfully run the Solaris version of Java Web Server 2.0...more
What are the hardware requirements for running a servlet environment on Linux with Apache, Tomcat, and PostregSQL?
It depends entirely on the application. Most Linux software doesn't publish hardware requirements, which are usually fictions anyway. You can get a development workstation running those components...more
The javac compiler is slow and expensive - I need a way to optimize for my application.
The javac compiler is slow and expensive - I need a way to optimize for my application.
I'm trying to run a Java compiler as a response to a POST to a Web site (users submit programs to compile) - ...more
What's the difference between the "client" and "server" virtual machines in JDK1.3 and later?
They both use the HotSpot performance engine, but the server VM optimizes aggressively up-front for the benefit of long-term performance, while the client VM defers a lot of optimization to favor ...more
Can I increase the number of file descriptors my app can support by increasing the number of threads? Since every thread on Linux is a process, and every process allows a certain number of file descriptors, it seems that this should be possible.
No. It's true that every thread takes an entry from the pid table. But they are still threads, not heavyweight processes, and the same file descriptor table is shared by all the threads.