On Sunday 02 September 2007 22:24, joe wrote:
> Stan Goodman wrote:
> > Installing the package seemed successful (there was a notice announcing
> > this). I rebooted, to  assure myself that the installation actually
> > "took".
>
> Rebooted? but why? To ensure that the installation took, it is necessary
> only to run the program. if it runs, the installation was successful.

It is the result of long habit from a pre-Linux existence. It certainly didn't 
create the subsequent problem.

> > Writing "jikes" in the Search field of the lizard menu brought up a line
> > reading <Run 'usr/bin/jikes'>, and I clicked on it -- which produced
> > nothing visible. (Running jikes with no arguments is supposed to bring up
> > a help screen).
>
> Right - to get the help text, I'd open a terminal and type "jikes"

Too late. The bloody thing is gone.

> > Much worse, the three Java programs on which I rely no longer start;
> > clicking on their desktop icons does nothing whatever. Apparently jikes,
> > which is itself a Java program has done somehow screwed up the Java
> > installation.
> >
> > I tried to start one of the java programs manually, by which is easy to
> > do, and which I have done before. The result is as follows:
> >
> >
> > Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit:
>
> Ouch - looks like jikes has done something. I've never used jikes, but that
> does not sound at all kosher. If your java is all installed from rpm
> packages, you can check them to see what, if anything, has been damaged.
> I'm starting from ignorance about jikes, and assuming a worst-case scanario
> here. So I'd first remove jikes, then generate a list of the main java
> packages to check. On my box, I get:

> lucy: /home/jjs
> (tty/dev/pts/3): bash: 1031 > rpm -qa | grep '^java'
> java-1_5_0-sun-alsa-1.5.0_update12-3.1
> java-1_4_2-gcj-compat-devel-1.4.2.0-66
> java-1_5_0-sun-1.5.0_update12-3.1
> java-1_4_2-cacao-devel-0.96-22
> java-1_5_0-sun-jdbc-1.5.0_update12-3.1
> java-1_5_0-sun-devel-1.5.0_update12-3.1
> javamail-1.4-16
> java-1_5_0-sun-plugin-1.5.0_update12-3.1
> java-1_4_2-gcj-compat-1.4.2.0-66
> java-1_4_2-cacao-0.96-22

Just for laughs (no giggling), here is a list of checked packages that the 
Software Management tool turns up when searched for "java";

classpath
gcc41-gij
gcc41-gij_32bit
gcc-gij
java-1_4_2-gcj-compat
java-1_4_2-gcj-compat_32bit
jre (with a padlock; this is jre v1.6.0_02)
libgcj41
libgcj41-32bit

> I'd then check each of these with rpm -V to see which files might be
> missing or damaged. I'll put the above list into a file called "java-pkgs"
> and issue the following command:
>
> for i in `cat java-pkgs `do
> echo $i
> rpm -V $i
> echo 'next?'
> read junk
> done

As you probably read in a previous note to Bogdan, I've localized the problem 
to Java v1.4.2, which I intend to uninstall, so that v1.6.0 will be the 
default jvm. Everything I have works fine with 1.6.0.

> If any of these shows damage, I'd reinstall it... and no reboot.
>
> Was jikes installed with yast or zypper, or was it downloaded and installed
> with an rpm command? were there any warnings?

It was installed automatically from the website where it was found, using 
Zeninstaller. There were no warnings. The first thing the installation told 
me was "Success!".

> Just for giggles, I downloaded jikes and took a look.  Here is the list of
> files in the jikes which I just installed with zypper:
>
>
> lucy: /home/jjs
> (tty/dev/pts/3): bash: 1045 > rpm -ql jikes
> /usr/bin/jikes
> /usr/include/jikesapi.h
> /usr/share/doc/packages/jikes
> /usr/share/doc/packages/jikes/AUTHORS
> /usr/share/doc/packages/jikes/COPYING
> /usr/share/doc/packages/jikes/ChangeLog
> /usr/share/doc/packages/jikes/NEWS
> /usr/share/doc/packages/jikes/README
> /usr/share/doc/packages/jikes/TODO
> /usr/share/doc/packages/jikes/license.htm
> /usr/share/man/man1/jikes.1.gz
>
>
> I see absolutely no possibility of conflict with any installed java files
> here. After installing jikes, I still have no problem running any of my
> java programs - editix, limerwire, azureus all work as before. I suspect
> there may be something else going on with your system. Happy hunting and
> good luck!

OK, there was no possibility. Still, Java was working fine minutes before the 
installation, and was fouled up right afterward.

> Joe

-- 
Stan Goodman
Qiryat Tiv'on
Israel
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to