Fuzzy Logic

Because things aren't confusing enough…

rainbow

Archive for the ‘Tip’ Category

Tip: Fix Java not finding libmawt.so (Ubuntu 8.10)

Just a quick fix for this problem–I’m more posting this for myself than anyone else.  Anyhow, if you have at one point installed the non-official Java package and then installed the sun-java6-jre package set, you may be missing some things.  The error I was getting was

Exception in thread "main" java.lang.UnsatisfiedLinkError:
Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so

The exact error being:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1666)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1684)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1610)
at java.awt.Toolkit.<clinit>(Toolkit.java:1632)
at java.awt.Component.<clinit>(Component.java:568)
at CreditSystem.main(CreditSystem.java:17)

The solution I found was to issue the following command

sudo update-java-alternatives -s java-6-sun

That will update your files and fix it. Fun fun…

Ubuntu 8.10 (Intrepid Ibex) beta on T61

Canonical released the Ubuntu 8.10 beta candidate last week.  As an avid Ubuntu user, I decided to give it a try on my T61 laptop.  I’m generally hesitant to upgrade to betas with Ubuntu–I’ve really never managed to have a flawless upgrade process.  I was determined, however, that today would be different!  So I fired up the Update Manager so I could update from 8.04 and prayed.

(more…)

Installing WoW under Wine with Gutsy on a T61

So, thanks to Jeff Nadeau, I got hooked on WoW recently.  Unfortunately, I had a problem–How would I play this completely addicting game without the ability to play it on my laptop?  After all, the inability to play CSS/TF2 on my laptop with Wine was one of the big reasons I didn’t fail out of Engineering last year.  Luckily, after hacking at this for a few hours I managed a fix so I can properly lose all of my social life.

(more…)

Fixing flickering and corruption during install of 7800GTs in SLI

I recently bought a pair of PCIe 7800GTs, made by EVGA.  My motherboard is an nForce4 A8N-Sli motherboard and had served me well until I attempted to install these cards.  When I tried to install these cards, however, the entire screen corrupted, flickered, and maxed out my system resources, making it impossible to install or do anything with the screen. Also, when I attempted to install the drivers the program would cause the computer to crash. To complete this solution, you need the following:

  • Windows XP Pro (for the Remote Desktop capablities)
  • Another computer on the network

The solution I found was this:

  1. Visit nVidia’s driver website and download the new drivers
  2. Enable RDP
  3. Turn off your computer, install the new cards
  4. Start up your computer.  You will experience lots of artifacting.  Just log on to your user’s account.
  5. On the computer not in use, connect via RDP to the SLI’d computer.  Log in and take over the computer.  Install the drivers remotely.

If all goes well, this will solve your problem–I know it did for me.