[Centos] Setting JAVA path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am Mo, den 28.03.2005 schrieb Vaneet Sharma um 15:59:

> I have successfully installed centos 4.0 . I installed JDK 5.0 and
> Tomcat 5.5.7 as well. I have also installed JAVA_HOME in etc/profile.
> When I type JAVA on command prompt, I get the following.
> 
> Usage: gij [OPTION] ... CLASS [ARGS] ...
>           to invoke CLASS.main, or
>        gij -jar [OPTION] ... JARFILE [ARGS] ...
>           to execute a jar file
> Try `gij --help' for more information.
> 
> 
> Well, I have been to gcc website, 
> How can I make Java interpretor RUN ?
> Is gij better interpretor than JAVA?
> 
> Now, shall I delete symbolic link for gij and how ?
> Which directory load symbolic links at  start up ( is it etc/bin ?)
> Any hints will be appreciated
> Kind Regards
> Vaneet

The SUN jdk conflicts with the java-1.4.2-gcj-compat CentOS4 ships with.
The preferred path to go with JAVA on CentOS4 is to use
www.jpackage.org. You now may remove the java-1.4.2-gcj-compat package.

Alexander

P.S.

"Want a signature like this? - www.plaxo.com\signature"

No! Please remove that crap. A signuture shall not exceed 4 lines.
Pointless disclaimer for a public mailing list.


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.770_FC2smp 
Serendipity 16:36:45 up 11 days, 13:32, load average: 0.81, 0.66, 0.53 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.caosity.org/pipermail/centos/attachments/20050328/6113e47c/attachment.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux