Unable to run SUn Java JDK v 1.3.0 on Linux

2000-12-18 Thread G.P.Rastogi

I downloaded Sun JDK Standard Edition v 1.3.0 for Linux and executed
the shell script sh ./j2sdk-1_3_0-forte_ce-1_0_2-linux.sh. It extracted
all the files but after going into the /usr/local/jdk1.3/bin directory,
when I gave the command 'java', it did not execute.  

On giving ls -l command in the /usr/loca;/jdk1.3/bin directory it
displayed all the files (including java) as java -> java_wrapper.
There were two additional files in the directory 'realpath' and
'.java_wrapper'.

On giving the executing sh ./realpath also nothing happened.

I serached all over internet, but could be get a detailed answer which
could resolve my problem.

Please help me by detailing how do I run java SDK on Linux and what is
the purpose of 'realpath' and .java_wrapper. Can I scrap them by
changing links and simple use java ? If yes, what steps should I follow
?

Thanks in advance for your help,

Regards,
GP


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: Unable to run SUn Java JDK v 1.3.0 on Linux

2000-12-18 Thread KIRKBRIDE Rob

This may be a daft question but you have got the directory in your path?
Or if you are in the actual directory the current directory (ie. a period mark)?

Try ./java and see if this works.

Rob

> -Original Message-
> From: G.P.Rastogi
> Sent: 18 December 2000 12:36
> To: [EMAIL PROTECTED]; KIRKBRIDE Rob
> ([EMAIL PROTECTED])
> Subject: Unable to run SUn Java JDK v 1.3.0 on Linux
>
>
>
> I downloaded Sun JDK Standard Edition v 1.3.0 for Linux and executed
> the shell script sh ./j2sdk-1_3_0-forte_ce-1_0_2-linux.sh. It
> extracted
> all the files but after going into the /usr/local/jdk1.3/bin
> directory,
> when I gave the command 'java', it did not execute.
>
> On giving ls -l command in the /usr/loca;/jdk1.3/bin directory it
> displayed all the files (including java) as java -> java_wrapper.
> There were two additional files in the directory 'realpath' and
> '.java_wrapper'.
>
> On giving the executing sh ./realpath also nothing happened.
>
> I serached all over internet, but could be get a detailed answer which
> could resolve my problem.
>
> Please help me by detailing how do I run java SDK on Linux and what is
> the purpose of 'realpath' and .java_wrapper. Can I scrap them by
> changing links and simple use java ? If yes, what steps
> should I follow
> ?
>
> Thanks in advance for your help,
>
> Regards,
> GP
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
> <<<   Original Email Header
>  >>>
>
> Received: from punt-1.mail.demon.net by mailstore for
> [EMAIL PROTECTED]
>   id 977127534:10:00561:8; Mon, 18 Dec 2000 08:18:54 GMT
> Received: from karlasha.2kweb.net ([192.41.21.66]) by
> punt-1.mail.demon.net
>id aa1000119; 18 Dec 2000 8:18 GMT
> Received: (karlasha@localhost) by karlasha.2kweb.net (8.8.5)
> id AAA01647; Mon, 18 Dec 2000 00:15:04 -0700 (MST)
> Resent-Date: Mon, 18 Dec 2000 00:15:04 -0700 (MST)
> Reply-To: <[EMAIL PROTECTED]>
> From: "G.P.Rastogi" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: Unable to run SUn Java JDK v 1.3.0 on Linux
> Date: Mon, 18 Dec 2000 12:36:09 +0530
> Message-ID: <000101c068c0$ffc82450$81c8@gppc>
> MIME-Version: 1.0
> Content-Type: text/plain;
>   charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> X-Priority: 3 (Normal)
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0)
> Importance: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
> Disposition-Notification-To: "G.P.Rastogi" <[EMAIL PROTECTED]>
> Resent-Message-ID: <[EMAIL PROTECTED]>
> Resent-From: [EMAIL PROTECTED]
> X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/4974
> X-Loop: [EMAIL PROTECTED]
> Precedence: list
> Resent-Sender: [EMAIL PROTECTED]
>
>




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Unable to run SUn Java JDK v 1.3.0 on Linux

2000-12-18 Thread Nathan Meyers

KIRKBRIDE Rob wrote:

> This may be a daft question but you have got the directory in your path?
> Or if you are in the actual directory the current directory (ie. a period mark)?
>
> Try ./java and see if this works.

Better yet, try executing "/usr/local/jdk1.3/bin/java" from any directory, or
adding "/usr/local/jdk1.3/bin" to your PATH. I don't know if it's still true, but
it's been the case in the past that running from within the bin directory breaks
certain script assumptions.

And don't waste too much time trying to understand the whole java_wrapper/realpath
business. You don't need to to use Java :-).

Nathan


>
>
> Rob
>
> > -Original Message-
> > From: G.P.Rastogi
> > Sent: 18 December 2000 12:36
> > To: [EMAIL PROTECTED]; KIRKBRIDE Rob
> > ([EMAIL PROTECTED])
> > Subject: Unable to run SUn Java JDK v 1.3.0 on Linux
> >
> >
> >
> > I downloaded Sun JDK Standard Edition v 1.3.0 for Linux and executed
> > the shell script sh ./j2sdk-1_3_0-forte_ce-1_0_2-linux.sh. It
> > extracted
> > all the files but after going into the /usr/local/jdk1.3/bin
> > directory,
> > when I gave the command 'java', it did not execute.
> >
> > On giving ls -l command in the /usr/loca;/jdk1.3/bin directory it
> > displayed all the files (including java) as java -> java_wrapper.
> > There were two additional files in the directory 'realpath' and
> > '.java_wrapper'.
> >
> > On giving the executing sh ./realpath also nothing happened.
> >
> > I serached all over internet, but could be get a detailed answer which
> > could resolve my problem.
> >
> > Please help me by detailing how do I run java SDK on Linux and what is
> > the purpose of 'realpath' and .java_wrapper. Can I scrap them by
> > changing links and simple use java ? If yes, what steps
> > should I follow
> > ?
> >
> > Thanks in advance for your help,
> >
> > Regards,
> > GP
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
> >
> > <<<   Original Email Header
> >  >>>
> >
> > Received: from punt-1.mail.demon.net by mailstore for
> > [EMAIL PROTECTED]
> >   id 977127534:10:00561:8; Mon, 18 Dec 2000 08:18:54 GMT
> > Received: from karlasha.2kweb.net ([192.41.21.66]) by
> > punt-1.mail.demon.net
> >id aa1000119; 18 Dec 2000 8:18 GMT
> > Received: (karlasha@localhost) by karlasha.2kweb.net (8.8.5)
> > id AAA01647; Mon, 18 Dec 2000 00:15:04 -0700 (MST)
> > Resent-Date: Mon, 18 Dec 2000 00:15:04 -0700 (MST)
> > Reply-To: <[EMAIL PROTECTED]>
> > From: "G.P.Rastogi" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Subject: Unable to run SUn Java JDK v 1.3.0 on Linux
> > Date: Mon, 18 Dec 2000 12:36:09 +0530
> > Message-ID: <000101c068c0$ffc82450$81c8@gppc>
> > MIME-Version: 1.0
> > Content-Type: text/plain;
> >   charset="iso-8859-1"
> > Content-Transfer-Encoding: 7bit
> > X-Priority: 3 (Normal)
> > X-MSMail-Priority: Normal
> > X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0)
> > Importance: Normal
> > X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
> > Disposition-Notification-To: "G.P.Rastogi" <[EMAIL PROTECTED]>
> > Resent-Message-ID: <[EMAIL PROTECTED]>
> > Resent-From: [EMAIL PROTECTED]
> > X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/4974
> > X-Loop: [EMAIL PROTECTED]
> > Precedence: list
> > Resent-Sender: [EMAIL PROTECTED]
> >
> >
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Unable to run SUn Java JDK v 1.3.0 on Linux

2000-12-18 Thread Joi Ellis

On Mon, 18 Dec 2000, G.P.Rastogi wrote:

> I downloaded Sun JDK Standard Edition v 1.3.0 for Linux and executed
> the shell script sh ./j2sdk-1_3_0-forte_ce-1_0_2-linux.sh. It extracted
> all the files but after going into the /usr/local/jdk1.3/bin directory,
> when I gave the command 'java', it did not execute.  

To launch any command which is not on your PATH, you must provide a 
path to the command.   Either of these will work:

/usr/local/jdk1.3/bin/java

cd /usr/local/jdk1.3/bin; ./java

Edit your .bash_profile file (in your home directory) and append
/usr/local/jdk1.3/bin to the PATH statement.  This will put the java
bin directory into your search path and you won't need to specify the
full path to the java command.

-- 
Joi EllisSoftware Engineer
Aravox Technologies  [EMAIL PROTECTED], [EMAIL PROTECTED]

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
   - Chris Johnson


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: building 1.2.2

2000-12-18 Thread Calvin Austin

Redhat 6.1 was used to build the 1.2.2 source, later releases of gcc
refused to even compile the assembler files, and you need to remove the
comment lines if you are using a later release. One of the challenges
with developing on linux is how fast distributions change, the tools
all changed in a year. 

If you are seeing segfaults then I would suggest using the patched
motif from openmotif.org, you need the development tree version.

rt.jar is a release bundle, for development you can just use the classes
in the build/classes directory.

regards
calvin




Brian Craft wrote:
> 
> (resending this, since the server seems to eat messages unless you're
> subscribed)
> 
> - Forwarded message from Brian Craft <[EMAIL PROTECTED]> -
> 
> Hey -- I got the Sun source, for jdk1.2.2, but the build is horribly
> broken. It spits out invalid assembler code, among other things.
> 
> With a bit of fussing (removing bogus assembler comments), I got it
> to build, but the resulting binaries are not the same as the blackdown
> 1.2.2 binaries, and they segfault regularly.
> 
> I didn't find any diff on blackdown for 1.2.2.
> 
> What's the deal? How do you build this stuff?
> 
> Alternately, does anyone know if there's a way to replace the
> existing awt class w/o rebuilding the tool chain? From what I
> can tell, awt is built into libawt, and rt.jar refers to it
> somehow. Maybe I can just rebuild rt.jar? Anyone know how?
> 
> Also note that the build info in the FAQ doesn't work, since sun
> isn't serving the 1.2 source, and the blackdown docs don't work
> for 1.2.2. In particular, the patches won't apply to the 1.2.2
> source.
> 
> b.c.
> 
> - End forwarded message -
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




What are the disadvantages of using jikes instead of javac?

2000-12-18 Thread Jacob Nikom

Hi,

I started to use jikes and like it very much. So I started to wonder,
what are the disadvantages to use jikes instead of javac (SUN or
Blackdown)? What not to use only jikes?

Jacob Nikom


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Socket Exception out of Nowhere !!

2000-12-18 Thread Albert Lai

"Mr.Y.SHIVAKANT" <[EMAIL PROTECTED]> writes:

> I gave up building up on the browser because i could not implement swing
> anyway who is looking for a browser.I gave up building in java because i am
> not building device drivers even if i were it would be in 'C' .Presently i
> am looking for rich avenues.

Mr. Y. Shivakant, enough is enough.  I have been annoyed by your noise
ever since the first time you posted to this mailing list, but I tried
not to complain.  Now is a good time to advice you to give up on this
mailing list in addition to giving up on browsers, Java, and Swing.  I
for one certainly do not appreciate or need your half-wit,
self-righteous, non-constructive comments made to an otherwise fine
and informative mailing list, and I suspect many readers feel the
same.  Please save your own time in following this mailing list as
well as many people's time in discarding your messages, including the
time their computers spend in running your messages through procmail
filters.

As for rich avenues, go become a marketting representative.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: What are the disadvantages of using jikes instead of javac?

2000-12-18 Thread Mo DeJong

On Mon, 18 Dec 2000, Jacob Nikom wrote:

> Hi,
> 
> I started to use jikes and like it very much. So I started to wonder,
> what are the disadvantages to use jikes instead of javac (SUN or
> Blackdown)? What not to use only jikes?
> 
> Jacob Nikom

The advantages are clear, Jikes is much faster, it is open source,
the list goes on. The disadvantages seem to be related to bugs
in the compiler itself. Don't get me wrong, it is not like
there are no bugs in javac. If you check the current numbers
for the Jacks compiler testing project, out of about 1,100
tests both jikes and javac fail around 100 tests.

The really nice benefit of using jikes is that if
you run into a bug in the compiler, you can actually
fix it yourself. I have fixed a number of bugs in
Jikes, it is not hard at all. This appleals to me,
since I fix bugs for a living.

cheers
Mo DeJong
Red Hat Inc


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: What are the disadvantages of using jikes instead of javac?

2000-12-18 Thread Joi Ellis

On Mon, 18 Dec 2000, Jacob Nikom wrote:

> Hi,
> 
> I started to use jikes and like it very much. So I started to wonder,
> what are the disadvantages to use jikes instead of javac (SUN or
> Blackdown)? What not to use only jikes?

Besides the fact that it generates a binary that runs on only one
platform?

-- 
Joi EllisSoftware Engineer
Aravox Technologies  [EMAIL PROTECTED], [EMAIL PROTECTED]

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
   - Chris Johnson


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Socket Exception out of Nowhere !!

2000-12-18 Thread Mr.Y.SHIVAKANT


-Original Message-
From: Albert Lai <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, December 19, 2000 5:06 AM
Subject: Re: Socket Exception out of Nowhere !!


>"Mr.Y.SHIVAKANT" <[EMAIL PROTECTED]> writes:
>
>> I gave up building up on the browser because i could not implement swing
>> anyway who is looking for a browser.I gave up building in java because i
am
>> not building device drivers even if i were it would be in 'C' .Presently
i
>> am looking for rich avenues.
>
>Mr. Y. Shivakant, enough is enough.  I have been annoyed by your noise
>ever since the first time you posted to this mailing list, but I tried
>not to complain.  Now is a good time to advice you to give up on this
>mailing list in addition to giving up on browsers, Java, and Swing.  I
>for one certainly do not appreciate or need your half-wit,
>self-righteous, non-constructive comments made to an otherwise fine
>and informative mailing list, and I suspect many readers feel the
>same.  Please save your own time in following this mailing list as
>well as many people's time in discarding your messages, including the
>time their computers spend in running your messages through procmail
>filters.
>
>As for rich avenues, go become a marketting representative.
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>

Why is swing so impossible


YOURS SINCERELY
Shivakanth

Green peace says that linux is wasting a penguing


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Socket Exception out of Nowhere !!

2000-12-18 Thread Mr.Y.SHIVAKANT


-Original Message-
From: Albert Lai <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, December 19, 2000 5:06 AM
Subject: Re: Socket Exception out of Nowhere !!


>"Mr.Y.SHIVAKANT" <[EMAIL PROTECTED]> writes:
>
>> I gave up building up on the browser because i could not implement swing
>> anyway who is looking for a browser.I gave up building in java because i
am
>> not building device drivers even if i were it would be in 'C' .Presently
i
>> am looking for rich avenues.
>
>Mr. Y. Shivakant, enough is enough.  I have been annoyed by your noise
>ever since the first time you posted to this mailing list, but I tried
>not to complain.  Now is a good time to advice you to give up on this
>mailing list in addition to giving up on browsers, Java, and Swing.  I
>for one certainly do not appreciate or need your half-wit,
>self-righteous, non-constructive comments made to an otherwise fine
>and informative mailing list, and I suspect many readers feel the
>same.  Please save your own time in following this mailing list as
>well as many people's time in discarding your messages, including the
>time their computers spend in running your messages through procmail
>filters.
>
>As for rich avenues, go become a marketting representative.
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>


I am working with marketing executives selling my software.


YOURS SINCERELY
Shivakanth


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Socket Exception out of Nowhere !!

2000-12-18 Thread Mr.Y.SHIVAKANT


-Original Message-
From: Albert Lai <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, December 19, 2000 5:06 AM
Subject: Re: Socket Exception out of Nowhere !!


>"Mr.Y.SHIVAKANT" <[EMAIL PROTECTED]> writes:
>
>> I gave up building up on the browser because i could not implement swing
>> anyway who is looking for a browser.I gave up building in java because i
am
>> not building device drivers even if i were it would be in 'C' .Presently
i
>> am looking for rich avenues.
>
>Mr. Y. Shivakant, enough is enough.  I have been annoyed by your noise
>ever since the first time you posted to this mailing list, but I tried
>not to complain.  Now is a good time to advice you to give up on this
>mailing list in addition to giving up on browsers, Java, and Swing.  I
>for one certainly do not appreciate or need your half-wit,
>self-righteous, non-constructive comments made to an otherwise fine
>and informative mailing list, and I suspect many readers feel the
>same.  Please save your own time in following this mailing list as
>well as many people's time in discarding your messages, including the
>time their computers spend in running your messages through procmail
>filters.
>
>As for rich avenues, go become a marketting representative.
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>

Who the fuck is Alice.

YOURS SINCERELY
Shivakanth


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: What are the disadvantages of using jikes instead of javac?

2000-12-18 Thread Joseph Shraibman

In at least a few instances that I know of, jikes produces slower code. 
But I don't think javac is a really great optimizing compiler either.

There is at least one bug that causes jikes to crash where javac
compiles the code.  Don't remember exactly what it was, I think it was
something like private inner classes.  I just made them non-private and
they compiled fine.

Jacob Nikom wrote:
> 
> Hi,
> 
> I started to use jikes and like it very much. So I started to wonder,
> what are the disadvantages to use jikes instead of javac (SUN or
> Blackdown)? What not to use only jikes?
> 
> Jacob Nikom
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Joseph Shraibman
[EMAIL PROTECTED]
Increase signal to noise ratio.  http://www.targabot.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: JDK1.3 only classic works

2000-12-18 Thread Joseph Shraibman

It apperears Sun has finally fixed the HotSpot crash problem.  See
http://developer.java.sun.com/developer/bugParade/bugs/4372197.html. 
They previously marked it as closed; non-reproducable but now it is
marked fixed.  The fix limits the number of threads available on a
system, but most apps don't need a few hundred threads anyway.

Graham Murray wrote:
> 
> I have just downloaded the Blackdown 1.3-FCS and only the "classic" VM
> works. If I try client (the default) or server there is no error shown
> - it just hangs. It does this even with 'java -version'.
> 
> >From the command line, I can either use java -classic or change
> jvm.cfg, but my main reason for upgrading was to get java support
> working in Mozilla (daily updates) but this "hardwires" the 'client'
> jvm.
> 
> I am using Linux 2.4.0-test12-pre7
>glibc 2.2
>Pentium III UP
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Joseph Shraibman
[EMAIL PROTECTED]
Increase signal to noise ratio.  http://www.targabot.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: What are the disadvantages of using jikes instead of javac?

2000-12-18 Thread Mo DeJong

On Mon, 18 Dec 2000, Joseph Shraibman wrote:

> In at least a few instances that I know of, jikes produces slower code. 
> But I don't think javac is a really great optimizing compiler either.

That does not matter. Java code should be optimized by
the JIT not the Java compiler. On a pure interpreted JVM
it might matter a bit, but who uses those these days?
Besides, you could just switch to javac when you compile
the final executable, if it mattered.

> There is at least one bug that causes jikes to crash where javac
> compiles the code.  Don't remember exactly what it was, I think it was
> something like private inner classes.  I just made them non-private and
> they compiled fine.

That is a known bug, it is covered by this Jacks regression test:

8.8.5.1-accessible-explicit-super-invocation-args-3

class T8851aesia3_super {
private T8851aesia3_super(int i) {}

static class T8851aesia3 extends T8851aesia3_super {
T8851aesia3() { super(1); }
}
}

It should be fixed in the 1.13 release.

There are also cases where javac compiles your
code even though it is not legal. For example:

class T8851mti2 {
T8851mti2() { this(0); }
T8851mti2(int i) { this(); }
}

Jikes correctly prints an error in this
case, since the function would loop forever.

Javac does not.

cheers
Mo DeJong
Red Hat Inc


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: What are the disadvantages of using jikes instead of javac?

2000-12-18 Thread Mo DeJong

On Mon, 18 Dec 2000, Joi Ellis wrote:

> On Mon, 18 Dec 2000, Jacob Nikom wrote:
> 
> > Hi,
> > 
> > I started to use jikes and like it very much. So I started to wonder,
> > what are the disadvantages to use jikes instead of javac (SUN or
> > Blackdown)? What not to use only jikes?
> 
> Besides the fact that it generates a binary that runs on only one
> platform?

I think you are getting Jikes confused with GCJ, the GNU
Java compiler project.

Jikes is a drop in replacement for javac.
It writes out .class files just like javac,
only way faster. I have a java project
that takes 60 seconds to compile with
javac and only 3 seconds to compile with Jikes.

See this URL for more info:

http://oss.software.ibm.com/developerworks/opensource/jikes/project/

Mo DeJong
Red Hat Inc


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: What are the disadvantages of using jikes instead of javac?

2000-12-18 Thread Lachlan O'Dea

On Mon, Dec 18, 2000 at 06:07:39PM -0600, Joi Ellis wrote:
> On Mon, 18 Dec 2000, Jacob Nikom wrote:
> 
> > Hi,
> > 
> > I started to use jikes and like it very much. So I started to wonder,
> > what are the disadvantages to use jikes instead of javac (SUN or
> > Blackdown)? What not to use only jikes?
> 
> Besides the fact that it generates a binary that runs on only one
> platform?

I think you're confusing jikes with gcj. Jikes produces class files.

-- 
Lachlan O'Dea    Computer Associates Pty Ltd
Webmaster   Vet - Anti-Virus Software
http://www.vet.com.au/

Vet 10.2 Forever!


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




sdk 1.3.0 fcs netscape plugin problem

2000-12-18 Thread Robert B. Easter

Hello, I've installed a fresh install of Netscape 4.76 to /usr/local/netscape 
and installed JDK/SDK 1.3.0 FCS from Blackdown.org to /usr/local/j2sdk1.3.0.

The instructions for installing the Netscape plugin seems to say you just 
make a symbolic link:

cd /usr/local/netscape/plugins
ln -s /usr/local/j2sdk1.3.0/jre/plugin/i386/javaplugin.so javaplugin.so

OK, I did this, but when I try to use the plugin, for instance:

cd /usr/local/j2sdk1.3.0/jre
netscape JavaPluginControlPanel.html &

... I get a popup message in Netscape that it can't load libjvm.so:

java_vm: error in loading shared libraries: libjvm.so: cannot open shared 
object file: No such file or directory
Plugin: Plugin is not enabled or Java VM process has died.

I don't understand this, PLEASE help me! :)


I used JDK1.2.2 FCS and the Plugin 1.2.2 FCS with no problems but this 1.3.0 
just won't work.  Is 1.3.0 buggier than 1.2.2?  I want stability.

Also, in the Preferences for netscape, Advanced shows that the Enable Plugin 
Option is greyed out so that I can't select it.  The normal Java is enabled.  
When I was using the JDK 1.2.2 and the Plugin 1.2.2 FCS, I was able to check 
or uncheck the Enable Plugin box (it was not greyed).

When I go to Help:About Plugins, it shows the Java(TM) Plug-in 
Blackdown-1.3.0-FCS stuff, but again, it still doesn't work.

I also have the Java 3D 1.2 SDK installed into the j2sdk1.3.0 directory and 
appletviewer runs the 3D demos fine, but I'm mentioning it in case it has 
anything to do with the plugin not working.

Thanks if you can help me out! :)

-- 
 Robert B. Easter  [EMAIL PROTECTED] -
- CompTechNews Message Board   http://www.comptechnews.com/ -
- CompTechServ Tech Services   http://www.comptechserv.com/ -
-- http://www.comptechnews.com/~reaster/ 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: What are the disadvantages of using jikes instead of javac?

2000-12-18 Thread David Brownell

> > > I started to use jikes and like it very much. So I started to wonder,
> > > what are the disadvantages to use jikes instead of javac (SUN or
> > > Blackdown)? What not to use only jikes?
> > 
> > Besides the fact that it generates a binary that runs on only one
> > platform?
> 
> I think you are getting Jikes confused with GCJ, the GNU
> Java compiler project.

Which, by the way, is starting to act more and more real.
GCC developer snapshots now include a working version; that
is a quantum leap in accessibility.  RedHat and Debian both
include precompiled versions; I've used RedHat's.

My own experience with GCJ is positive.  For many things it's
faster than Hotspot, and the startup time is where it ought
to be (invisible).  I've not needed features that it doesn't
have ... and of course, as Free Software it can goes to CPUs
where Sun's implementation fears to go.  I don't know how
well its bytcode interpreter works, but one's there.

Think of GCJ as an ahead-of-time JIT (!) that's Free Software,
uses all the optimizations available to GCC 3.0, and moreover
lets you use conventional software distribution technologies
in common cases where they make sense.  (Think of compiling
as bytecode obfuscation, so you get two features at once!)

It won't fit into Lego Mindstorms robots, though.

- Dave





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: sdk 1.3.0 fcs netscape plugin problem

2000-12-18 Thread Juergen Kreileder

> "Robert" == Robert B Easter <[EMAIL PROTECTED]> writes:

Robert> Hello, I've installed a fresh install of Netscape 4.76 to
Robert> /usr/local/netscape and installed JDK/SDK 1.3.0 FCS from
Robert> Blackdown.org to /usr/local/j2sdk1.3.0.

Robert> The instructions for installing the Netscape plugin seems
Robert> to say you just make a symbolic link:

Robert> cd /usr/local/netscape/plugins
Robert> ln -s /usr/local/j2sdk1.3.0/jre/plugin/i386/javaplugin.so
Robert> javaplugin.so

Robert> OK, I did this, but when I try to use the plugin, for instance:

Robert> cd /usr/local/j2sdk1.3.0/jre
Robert> netscape JavaPluginControlPanel.html &

Does /usr/local/j2sdk1.3.0/bin/JavaPluginControlPanel work?

Robert> ... I get a popup message in Netscape that it can't load
Robert> libjvm.so:

Robert> java_vm: error in loading shared libraries: libjvm.so:
Robert> cannot open shared object file: No such file or directory
Robert> Plugin: Plugin is not enabled or Java VM process has died.

Robert> I don't understand this, PLEASE help me! :)

Robert> I used JDK1.2.2 FCS and the Plugin 1.2.2 FCS with no
Robert> problems but this 1.3.0 just won't work.  Is 1.3.0 buggier
Robert> than 1.2.2?  I want stability.

Did you remove the 1.2.2 plugin and ~/.java before trying the 1.3.0 plugin?


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
JVM'01: http://www.usenix.org/events/jvm01/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




fonts for java programs

2000-12-18 Thread Robert B. Easter

I'm getting this everytime I start just about any java program:

reaster@comptechnews:/usr/local/jdk/bin$ ./JavaPluginControlPanel
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
Font specified in font.properties not found 
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
reaster@comptechnews:/usr/local/jdk/bin$ 

Is there a font package that I can download to fix this, or install in X?  I 
never have the fonts these Java programs want.  I'm running XFree86 4.0.1, 
Java SDK 1.3.0 FCS.


-- 
 Robert B. Easter  [EMAIL PROTECTED] -
- CompTechNews Message Board   http://www.comptechnews.com/ -
- CompTechServ Tech Services   http://www.comptechserv.com/ -
-- http://www.comptechnews.com/~reaster/ 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: What are the disadvantages of using jikes instead of javac?

2000-12-18 Thread Nathan Meyers

Mo DeJong wrote:

> On Mon, 18 Dec 2000, Joseph Shraibman wrote:
>
> > In at least a few instances that I know of, jikes produces slower code.
> > But I don't think javac is a really great optimizing compiler either.
>
> That does not matter. Java code should be optimized by
> the JIT not the Java compiler. On a pure interpreted JVM
> it might matter a bit, but who uses those these days?

I used to believe that until I tried, some months back, a side-by-side
comparison of some benchmark code compiled by the old Blackdown JDK1.2.2
javac and a Sun-supplied javac on Solaris. On the same JVM, the code
generated by the Sun compiler ran faster and utilized multi-threading well
while the code generated by the Blackdown compiler kept just one CPU busy.
I was told (by Sun) that the Blackdown JDK1.2.2 javac was based on an
ancient Sun snapshot - which was the closest I ever got to an explanation of
results that were, to say the least, wildly counterintuitive.

Nathan



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]