Last update on .

X dies with message: “Could not init font path element unix/:7100”

You probably used your XF86Config file from a Red Hat system. Red Hat uses TCP port 7100 for its font server, while Gentoo does not. Find the line in your XF86Config file that says: ‘FontPath “unix/:7100”’ and comment it out. I don’t know why, but ...

Last update on .

My understanding is this: J2ME (Java 2 Micro Edition) is for embedded systems development. If you don’t know what this is, then you don’t need it. If you are using JBoss or IBM’s Websphere, you might consider using the J2EE stuff (Enterprise Environment—server software and stuff). If you just want basic Java functionality, then ...

Last update on .

Edit the file in /etc/sysconfig/hwconf and remove any reference to the device you want Kudzu to forget that it saw.

This is especially useful for when you accidentally tell Kudzu to always keep the current configuration of a device that changed.

Last update on .

I am using Red Hat 8.0 with USB support and digital camera support installed. To make sure that you have usb support and digital camera support installed, check for these two packages on your system (rpm -qa |grep ):

  • gphoto2
  • libusb

gphoto2 is an application that provides a command line interface with the digital camera. ...

Last update on .

There are two steps to using a library from a jar file in your program. First, you need to import the libraries from the jar file that you would like to use into your source code. Second, make sure that your CLASSPATH environmental variable is set. Only the second step warrants additional discussion.

When you compile ...

Last update on .

I was told that a good thing to do is to create a .sh and .csh file in /etc/profile.d. The .sh file should have these two lines in them:

    export JDK_HOME=<path to your jdk implementation — mine is /usr/java/j2sdk1.4.1_01>
    export PATH=$PATH:$JDK_HOME/bin

My guess at what the .csh file should look like is this:

    setenv JDK_HOME=<path to your ...

Last update on .

This happened to me in Red Hat 8.0 with Sun’s j2sdk1.4.1_01, though I think it happens with a lot of Java packages. My problem was that I was writing at the command line:

 bash> java my_program.class

I should not have included the .class in my command line call. I just had to make sure that I ...

Last update on .

Summary: Herein the author lays out the original purpose for this blog.

I realize that a question I have is dumb when I spend a long time finding the solution, and it turns out to be obvious. The problem with obvious answers is that people rarely bother writing them down. Sometimes I forget an obvious answer ...

Yearly archives