Re: Java install on Linux FC4 (Two very basic questions).
- From: Knute Johnson <nospam@xxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Jul 2005 13:21:11 -0700
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/ .
- Follow-Ups:
- Re: Java install on Linux FC4 (Two very basic questions).
- From: AnonymousFC4
- Re: Java install on Linux FC4 (Two very basic questions).
- References:
- Java install on Linux FC4 (Two very basic questions).
- From: AnonymousFC4
- Java install on Linux FC4 (Two very basic questions).
- Prev by Date: Re: ANOMALIES TRYING TO COMPILE JAVA CODE FROM WITH IN A RUNNING JAVA APPLICATION
- Next by Date: Re: Java inside Javascript
- Previous by thread: Java install on Linux FC4 (Two very basic questions).
- Next by thread: Re: Java install on Linux FC4 (Two very basic questions).
- Index(es):
Relevant Pages
|