So I was having troubles with my Kubuntu wireless, messing around with KNetworkManager and learning through the tried and true method of shooting myself in the foot. note: there are only two feet to get shot it, so learning comes quickly.

Eventually I came across the need to revert my setting to the original setting which had came with my application when I had first downloaded it. Here is what I did:

cd /home/user/.kde/share/config

I removed a file called: knetworkmanagerrc

Then i did the following and it ran perfect*:

sudo apt-get install knetworkmanager

-Eddie M.

*knetworkmanager was not installed at the time because I was messing around with various other network managers at the time, trying to learn how to connect using that, via CLI, etc. after re installing the knetworkmanager application, everything went smoothly.

In Windows, you do this:

javac progam.java

When I tried this in Ubuntu, I got yelled at. Here is what I was supposed to do:

javacc program.java

Edit: Nixternal came up with the way on how to do the javac.

sudo update-alternatives –config javac

He asked me to “see if * is next to sun or gcj or icedtea if that is installed”

sudo update-alternatives –config javac
[sudo] password for darkforce:
No alternatives for jav

which means that I don’t have sun installed, just have gcj, which is why you have the javacc. I check for sun-java6-jre trying:

sudo apt-get install sun-java6-jre
sun-java6-jre is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Let’s try something else:

sudo apt-get install sun-java6-jdk

Okay, now:

darkforce@speculum:~/CS201$ sudo update-alternatives –config javac

There is only 1 program which provides javac
(/usr/lib/jvm/java-6-sun/bin/javac). Nothing to configure.

One last configuration:

darkforce@speculum:~/CS201$ sudo update-alternatives –config java

There are 3 alternatives which provide `java’.

Selection Alternative
———————————————–
*+ 1 /usr/lib/jvm/java-6-sun/jre/bin/java
2 /usr/bin/gij-4.1
3 /usr/bin/gij-4.2

Press enter to keep the default[*], or type selection number: 1
Using `/usr/lib/jvm/java-6-sun/jre/bin/java’ to provide `java’.

Happy Times! Thanks to Richard Johnson for this one.