Re: Java install on Linux FC4 (Two very basic questions).



AnonymousFC4 wrote:
Hello:
  This is very simple question... but the answer is not obvious to me!
I am trying to compile and run very simple "hello World" kid, java
programs.... and I am running into problems.

I am having errors messages, bnoth at compile (for some programs), and run
time.... and they are so far quite cryptic to me.

For info:
-------------
$1 rpm -qa java*
java-1_5_0-sun-1.5.0_01-5
java_cup-manual-0.10-0.k.1jpp_2fc
java_cup-javadoc-0.10-0.k.1jpp_2fc
java-1.4.2-gcj-compat-1.4.2.0-40jpp_31rh.FC4.1
java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp_31rh.FC4.1
java_cup-0.10-0.k.1jpp_2fc
java-1.4.2-gcj-compat-src-1.4.2.0-40jpp_31rh.FC4.1
-------------

I have installed the Java run time engine as 1.5, but the rest is all 1.4,
this could explain some problems (not the compile): I imagine the byte code
generated by the compiler 1.4 is incompatible with the JRE (1.5)....

Q1: Where could I find the proper RPMS for FC4 Java 1.5 install ?
    I (ave read thatSUN has problems).

Q2: Where could I find the list of Java compiler, and run time errors, and
how to interpret them?

Thanks.
=========


Go to the Sun web site, java.sun.com, and download the 1.5 SDK for Linux. You can use the rpm version if you don't have whatever it is installed in Linux that interferes with it. My laptop has a normal installation and it works fine. Otherwise use the non-rpm version and install it completely. Set up the $PATH and you should be good to go.



--

Knute Johnson
email s/nospam/knute/
.



Relevant Pages

  • Re: linux certifications
    ... Harry Phillips wrote: ... > about Linux make sure the try a distro that has come out since Mandrake ... no need to compile a thing. ... > not one program that I have wanted that hasn't been available as an RPM ...
    (alt.os.linux)
  • Re: Confessions of a Linux Wannabe
    ... wouldn't be able to tell you if it is using Linux or FreeBSD. ... As for software installation: FreeBSD has a package management system ... download/build dependencies if applicable, configure and compile the ...
    (comp.os.linux.misc)
  • Re: Compile with kile in kde: can not find packages problem
    ... I am a beginner in linux in general. ... However, when I tried to compile the file, it complained that it ... could not find the packages I was using. ... So I suggest a new installation of tex-live 2008. ...
    (comp.text.tex)
  • Re: Enhancing cdboot [patch for review]
    ... Below please find patch that enhances cdboot with two compile-time options: ... CDBOOT_PROMPT default mode for installation CD. ... option here is to provide tamper-resistant boot process on custom ... conditionally compile *out* the bits that are not needed for some custom ...
    (freebsd-current)
  • Re: Enhancing cdboot [patch for review]
    ... Below please find patch that enhances cdboot with two compile-time options: ... CDBOOT_PROMPT default mode for installation CD. ... option here is to provide tamper-resistant boot process on custom ... conditionally compile *out* the bits that are not needed for some custom ...
    (freebsd-hackers)