Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2005

Tip: Looking for answers? Try searching our database.

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

Thread view: 
AnonymousFC4 - 28 Jul 2005 20:12 GMT
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.
=========
Knute Johnson - 28 Jul 2005 21:21 GMT
> Hello:
>   This is very simple question... but the answer is not obvious to me!
[quoted text clipped - 28 lines]
> 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.

Signature

Knute Johnson
email s/nospam/knute/

AnonymousFC4 - 28 Jul 2005 21:58 GMT
Knute:
  could not find the 1.5 SDK for Linux  on the java.sun.com
Could it also be called JDK ?


> 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 - 29 Jul 2005 01:05 GMT
> Knute:
>    could not find the 1.5 SDK for Linux  on the java.sun.com
[quoted text clipped - 7 lines]
>>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.

That's it.  They've changed the name that's all.

Signature

Knute Johnson
email s/nospam/knute/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.