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



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.
=========




.



Relevant Pages

  • Re: simple compilaton question
    ... > before I try to compile Main? ... "javac *.java" in each of my java source file directories the first ... with gcj. ... slow to ask for help on mailing lists. ...
    (comp.lang.java.programmer)
  • Re: Java server wont run after reboot
    ... Working with classpaths in Java isn't too hard, ... package definitions in your source code. ... Execute from that directory, no classpath definition needed. ... Assuming that you compile your code in the same directory and deposit the ...
    (RedHat)
  • Re: Java programmer lured back by .Net (Questions)
    ... I have finally decided to put all my business logic in C++ and compile that to native code. ... Security is the only reason why I could see that being a problem but I'm sure there is a way around it. ... Of course it learned a lot from Java, and improved upon many things which Java is slowly catching up on. ... I would like to be able to place my executable on my remote server and then "load" the executables on demand from accross the internet - so that there are no executables on the local machine for prying eyes to reverse engineer. ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Standard Database Interface?
    ... Windows binary and examples athttp://aspn.activestate.com/ASPN/Cookbook/Tcl?kwd=TclBlend. ... use native tcl and binary packages. ... and Java i.e Tcl/TK 8.4.13 and Java 1.4.2.12. ... patient enough to show me a step by step method on how to compile ...
    (comp.lang.tcl)
  • Re: Java server wont run after reboot
    ... > package definitions in your source code. ... Execute from that directory, no classpath definition needed. ... > java HelloWorld ... > If you compile to a different location, ...
    (RedHat)