I have been using java for years and never figured out how to work with the gcj java. I think the major problem is that java is distrubuted with the SUN Public Lic. I think that stops people from making simple RPM packages of the java runtime on public sites. Or there is some other reason I am not aware of.

What I have done in the past is went to java.sun.com. I download the full JDK or SDK. This allows a user to compile and run. The JRE is for running applications only.

I run the RPM or tar and install it saying yes to whatever questions it ask. Then I tar up the entire directory and make a shell script to install it on other machines. Java SDK is very portable itself the linux version will run on any linux kernel 2.4 2.6  and distro (as far as I have tested). All you need is the tar file. A path entry poining to the java executable and a JAVA_HOME entry for your java path.

** I only use java for running command line applications. My method works well for me. Running the full install as sun designs it to be run is a better option. **

On 4/30/07, Rob Crittenden <rcritten@redhat.com> wrote:
> Dear List,
> I am very new in FDS and install my first FDS server
> on my RHEL-4 ES system. The installation goes smooth
> and I am able to start the FDS and Administration
> server.
> But the problem arises when I try to open FD console,
> I have googled net and found one related topic at
> " http://fedoranews.org/mediawiki/index.php/JPackage_Java_for_FC4".
> But I found the instruction is premative and all the
> specified files are not there. Below is the screen
> dump of the error I am getting. If you please give me
> the detail instruction, it will be a lifesaver for me.
> =======================================================
> Warning: -ms8m not understood. Ignoring.
> Warning: -mx64m not understood. Ignoring.
> Exception in thread main java.lang.NoSuchMethodError:
> method com.netscape.mana
> gement.client.util.RemoteImage.setImage was not found.
>    at _Jv_ResolvePoolEntry(java.lang.Class,
> int) (/usr/lib/libgcj.so.5.0.0)
>    at
> com.netscape.management.client.util.RemoteImage.RemoteImage(java.lang.Stri
> ng) (Unknown Source)
>    at
> com.netscape.management.nmclf.SuiLookAndFeel.initComponentDefaults (javax.s
> wing.UIDefaults) (Unknown Source)
>    at
> com.netscape.management.nmclf.SuiLookAndFeel.getDefaults()
> (Unknown Source )
>    at javax.swing.UIManager.put(java.lang.Object ,
> java.lang.Object) (/usr/lib/li bgcj.so.5.0.0)
>    at
> com.netscape.management.client.components.FontFactory.initializeLFFonts()
> (Unknown Source)
>    at
> com.netscape.management.client.console.Console.common_init (java.lang.Strin
> g)
> (Unknown Source)
>    at
> com.netscape.management.client.console.Console.Console(java.lang.String,
> j ava.lang.String, java.lang.String, java.lang.String,
> java.lang.String , java.lang .String)
> (Unknown Source)
>    at
> com.netscape.management.client.console.Console.main(java.lang.String[])
> (Unknown Source)
> =======================================================
> Regards,
> Tapas Mallick
> bappa_tapas@yahoo.com
> tapas.mallick@gmail.com

You need to use either the Sun or IBM JRE. The console doesn't currently
work with gcj.


Fedora-directory-users mailing list