LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2005, 10:39 PM   #1
cherokee10
LQ Newbie
 
Registered: Jan 2005
Location: Montreal, Canada
Posts: 13

Rep: Reputation: 0
Unhappy java -version !!! ????


What it's this? Am I missing something ?

$ java -version
libgcj-java-placeholder.sh

This script is a placeholder for the /usr/bin/java
master link required by jpackage.org conventions. libgcj's
rmiregistry, rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives(8) system.

This change was necessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage.org JVM packages.
gij (GNU libgcj) version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)

Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 
Old 02-06-2005, 10:48 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
That all depends, what are you trying to do? It seams as though the only java system you have installed on that machine in the Java front end for GCC.
 
Old 02-07-2005, 09:14 AM   #3
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
I'd recommend installing Java SDK or JRE from sun and replace /usr/bin/java and /usr/bin/javac to link to the new java and javac.
 
Old 02-07-2005, 09:18 AM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I don't want to argue with csfalcon here, but you also might want to check out the Blackdown-SDK if you are doing Linux java instead of the Sun SDK. The Blackdown SDK is 100% compatible with Sun's and in my experience a boat load more stable and better performing on Linux then Sun's.

Course, I know some people that love the Gnu Java Compiler, but I've never had much luck with getting my projects that work on Blackdown/Sun to mesh well with gjc.

Last edited by jtshaw; 02-07-2005 at 09:19 AM.
 
Old 02-07-2005, 09:21 AM   #5
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
No argument here I might give blackdown-SDK a try and play around with it. Hope it is as good as you say it is.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Version Wierness PerfectReign SUSE / openSUSE 7 05-16-2005 09:25 AM
How do I tell what version of Java I have texjauto1 Linux - Newbie 2 03-22-2005 09:36 AM
which version of java for mozilla 1.4 joe6pack Mandriva 2 04-05-2004 09:37 PM
Java 2 Plug-in Version 1.3 mvp Linux - Software 11 11-11-2003 10:25 AM
What version of Java comes with Linux? CodeWarrior Linux - Software 5 05-13-2003 03:17 AM


All times are GMT -5. The time now is 09:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration