Re: Javac Hangs

2001-02-04 Thread Joi Ellis
On Sun, 4 Feb 2001, Wendy Schafer wrote: > I seem to have really messed up the JDK on my machine. When I type > "javac xxx.java" and press Enter, nothing happens. The java command > does not work either. This problem originally started when I was using > IBM's JDK 1.1.8. One day I went to use

Re: javac parser bug in blackdown jdk?

2000-08-04 Thread Dimitris Vyzovitis
> it seems needs look like that, is'nt it? > public class c implements a { > > public static void main( String[] args ) { > System.out.println( a.b.test ); > } > > } > ... > > And, to strengthen this argument, if I change b.test to a.b.test the > > program compiles normally. As I s

Re: javac parser bug in blackdown jdk?

2000-08-04 Thread Alexander Davydenko
On Thu, Aug 03, 2000 at 08:23:47PM +, Dimitris Vyzovitis wrote: > I am getting a very strange error with javac of blackdown 1.2.2RC4 (I > haven't tested with the FCS yet), that does not occur with jikes or the > javac that comes with ibm's jdk 1.3. > > The problem is illustrated by the f

Re: javac parser bug in blackdown jdk?

2000-08-03 Thread Mo DeJong
On 3 Aug 2000, Juergen Kreileder wrote: > > "Dimitris" == Dimitris Vyzovitis <[EMAIL PROTECTED]> writes: > > Dimitris> If you try to compile those files with jikes or ibm's > Dimitris> javac, > > "IBM's javac" is somewhat misleading, javac is written in Java and most > implementatio

Re: javac parser bug in blackdown jdk?

2000-08-03 Thread Juergen Kreileder
> "Dimitris" == Dimitris Vyzovitis <[EMAIL PROTECTED]> writes: Dimitris> If you try to compile those files with jikes or ibm's Dimitris> javac, "IBM's javac" is somewhat misleading, javac is written in Java and most implementations based on Sun's code use it without modifications. S

RE: Javac error and ANOTHER QUESTION

1999-09-07 Thread -=Steve-o=-
inz > To: [EMAIL PROTECTED]; Smiley, Jr., Edward > Sent: 9/7/99 5:58 PM > Subject: Re: Javac error > > On Tue, 7 Sep 1999 16:22:13 -0400, Smiley, Jr., Edward wrote: > > >I recently downloaded the a Blackdown JDK rpm for 1.1.7 version 1a. > When I > >try to run the co

RE: Javac error and ANOTHER QUESTION

1999-09-07 Thread Smiley, Jr., Edward
., Edward Sent: 9/7/99 5:58 PM Subject: Re: Javac error On Tue, 7 Sep 1999 16:22:13 -0400, Smiley, Jr., Edward wrote: >I recently downloaded the a Blackdown JDK rpm for 1.1.7 version 1a. When I >try to run the complier I get the following error: > >/usr/local/jdk117_v1a/bin/java: erro

Re: Javac error

1999-09-07 Thread Yohans Mendoza
which linux dist. are you using? ~ Yohans Mendoza Unix Administrator [EMAIL PROTECTED]Sirius Images Inc. http://www2.utep.edu/~yohanshttp://www.sirius-images.net ~~

Re: javac can not find com.sun.java.swing.JApplet class

1999-04-03 Thread Anil kumar
On Wed, 31 Mar 1999, Richard James wrote: > I am new to java and the 1.2 JDK. I am running RedHat 5.2 and the > Blackdown JDK1.2-v1pre-release. The install went fine. I have finally > figured out the libstdc++ link and I can successfully compile command > line applications. > > However, I am get

Re: javac-BUG ???

1999-04-03 Thread Jeff Galyan
"Dipl.-Ing. Dr. Mustafa Radi" wrote: > since Sun does not see, that Linux is becoming a competitive > alternative to Microsoft's Windows > You clearly have not been paying attention to the news, have you? -- Jeff Galyan http://www.anamorphic.com http://www.sun.com jeffrey dot galyan at sun d

Re: javac can not find com.sun.java.swing.JApplet class

1999-04-03 Thread Jeff Galyan
com.sun.java.swing.* have been renamed to javax.swing.*. Update your import declarations and you should be fine. > Richard James wrote: > > I am new to java and the 1.2 JDK. I am running RedHat 5.2 and the > Blackdown JDK1.2-v1pre-release. The install went fine. I have finally > figured out

Re: javac-BUG ???

1999-04-02 Thread Michael K Vance
"Dipl.-Ing. Dr. Mustafa Radi" wrote: For your reference: > 1.) Fonts do not behave as in 1.1.7, and even the batch in the > FAQs does not result to satisfying GUIs This is known. > 2.) The javac compiler seems to be buggy since some of the > projects leads to >>nullpointerexceptions<<

Re: javac can not find com.sun.java.swing.JApplet class

1999-04-01 Thread Troy Wu
How about checking the JDK-1.2 docs...? The package name is: javax.swing.* not com.sun.java.swing.* On Wed, 31 Mar 1999, Richard James wrote: public class RootApplet extends com.sun.java.swing.JApplet { --

Re: javac 1.2 a real pig

1999-03-13 Thread Volker Augustin
I am only using jikes since it appeared. I have not had any problems with it. There are however both a stable version (currently 0.42) and a developer version (v0.47) which you might want to try. They fixed a few JDK1.2 bugs recently. The developer version is available from http://www.ibm.co

Re: javac 1.2 a real pig

1999-03-12 Thread Nelson Minar
>The problem is that the jikes compiled code does not pass the >bytecode verify stage. If you run the same code under JDK 1.1 and it >works then you know for sure that that is the problem. Well, not exactly. You might also want to try runnign it with JDK 1.2 without verification. "oldjava" does t

Re: javac 1.2 a real pig

1999-03-12 Thread Moses DeJong
On Fri, 12 Mar 1999, Steve Cohen wrote: > Hani Suleiman wrote: > > > I use jikes with jdk1.2, the only snag is that you have to explicitly > > include rt.jar in your classpath. Also it will compile code that would not > > be passed by 1.2 javac. Sorry no specific code to demostrate this (and it

Re: javac 1.2 a real pig

1999-03-12 Thread Moses DeJong
I too have had some problem with jikes generated code with JDK 1.2. I think the problem is being worked on but perhaps more messages like "I can not run jikes compiled code under 1.2" will help get the bugs fixed. Joining the jikes mailing list is also a good way to keep up to date with jikes chan

Re: javac 1.2 a real pig

1999-03-12 Thread zun
On Fri, 12 Mar 1999, Steve Cohen wrote: > I had previously thought the errors I was getting on execution were the > result of using jikes. But apparently not so. Once javac finished its > compilation, an identical exception occurred on executing the compiled > application: > > [scohen@stevecoh

Re: javac 1.2 a real pig

1999-03-12 Thread Steve Cohen
Hani Suleiman wrote: > I use jikes with jdk1.2, the only snag is that you have to explicitly > include rt.jar in your classpath. Also it will compile code that would not > be passed by 1.2 javac. Sorry no specific code to demostrate this (and it > would be long on the jikes mailing list anyways!)

Re: javac 1.2 a real pig

1999-03-12 Thread Geoffrey T. Cheshire
On Fri, 12 Mar 1999, Steve Cohen wrote: > Is a 1.2-compatible jikes available yet? The jikes I used for 1.1.7 Yes. -- Geoffrey T. Cheshire <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: javac 1.2 a real pig

1999-03-12 Thread Hani Suleiman
I use jikes with jdk1.2, the only snag is that you have to explicitly include rt.jar in your classpath. Also it will compile code that would not be passed by 1.2 javac. Sorry no specific code to demostrate this (and it would be long on the jikes mailing list anyways!), but it had to do with me

Re: javac compiler exception - errata

1999-02-24 Thread Uli Luckas
There is another modification to your code the makes the compiler happy: public class foo { static Class oClass = (new Object()).getClass(); public void bar(Object param) { if (oClass == param.getClass()) { /* do nothing */ ; } } } Why is that? I don't know - I can only try

Re: javac compiler exception

1999-02-24 Thread Bertl
Ron Resnick wrote: > You don't get to see internal javac compiler errors every day - Not every day, but once a month... (Codeconversion, stackSize Null, np...) Sorry for OT, couldn't resist... -- To UNSUBSCRIBE, email to [EMA

Re: javac compiler exception

1999-02-24 Thread Martin Sorgatz
Ron Resnick wrote: > > Heh. > > You don't get to see internal javac compiler errors every day - > this was kind of neat: > > [resnick@rresnick f3]$ javac foo.java > java.lang.NullPointerException > at > sun.tools.tree.ConditionalExpression.costInline(ConditionalExpression.java) >

Re: javac - library errors

1998-12-12 Thread Carlos Alberto Roman Zamitiz
Yes, that's right. This error happens when you have Kaffe. If you remove it, javac and java work fine. Carlos Alberto Roman Zamitiz Departamento de Ingenieria en Computacion, Facultad de Ingenieria UNAM [EMAIL PROTECTED] On Sun, 6 Dec 1998, Han,sang-hyuck wrote: > > try like this > > [Bodah@

Re: javac - library errors

1998-12-12 Thread Han,sang-hyuck
try like this [Bodah@Bodah Bodah]$ /usr/local/jdk/bin/javac if it work well, your JDK path doesn't work then try like this [Bodah@Bodah Bodah]$ which javac I think the result is /usr/bin/javac then remove /usr/bin/javac ... Lord Bodah wrote: > every time i try to compile, i get one

Re: javac dies silently

1998-10-20 Thread John M. Gulizia
strider wrote: > > Greetings. > > I notice that, after the 1.1.5 distribution of Java on Linux, regardless of > which port or subversion I try, javac no longer works. It seems to be a link to a >file called .java_wrapper, which basically sets a bunch of system vars. Wha > > What do I need t

Re: javac dies silently

1998-10-12 Thread strider
On Mon, 12 Oct 1998 07:45:00 -0400, "Michael Sinz" <[EMAIL PROTECTED]> wrote: > > Hmmm... I can not think of a reason off the top of my head. I would > look at what the javac is trying to run. For example, check what > > java -version > > outputs. (javac is just a java program that happ

Re: javac dies silently

1998-10-12 Thread Michael Sinz
On Sun, 11 Oct 1998 17:36:08 -0400, strider wrote: >On Sun, 11 Oct 1998 09:50:15 -0400, "Michael Sinz" <[EMAIL PROTECTED]> wrote: >> >> It should just work. Make sure (since you are RedHat 5.0) not to have >> Kaffe installed from the default Kaffe archives. >>> On Sun, 11 Oct 1998 08:59:43 -040

Re: javac dies silently

1998-10-11 Thread strider
On Sun, 11 Oct 1998 09:50:15 -0400, "Michael Sinz" <[EMAIL PROTECTED]> wrote: > > It should just work. Make sure (since you are RedHat 5.0) not to have > Kaffe installed from the default Kaffe archives. > >> On Sun, 11 Oct 1998 08:59:43 -0400, strider wrote: >>I notice that, after the 1.1.5 dist

Re: javac dies silently

1998-10-11 Thread Michael Sinz
On Sun, 11 Oct 1998 08:59:43 -0400, strider wrote: >Greetings. > >I notice that, after the 1.1.5 distribution of Java on Linux, regardless of >which port or subversion I try, javac no longer works. It seems to be a link to a >file called .java_wrapper, which basically sets a bunch of system var

Re: javac segmentation fault

1998-10-01 Thread Eric Harlow
Someone enlighted me that I need to install the absolutely latest glibc RPM files. I found them at: ftp://ftp.redhat.com/pub/redhat/redhat-5.0/updates/i386/ So far, this seems to have fixed my problems. -Eric - Original message below - I installed the jdk1-1-6v4 and can compile ja

Re: javac problem

1998-09-17 Thread Wolfgang Mües
Am Don, 17 Sep 1998 schrieb Calixto Melean: >I knew this was an old one. However, in my case, when I delete those >files, javac does not do anything know. Yes, I type javac >HelloWorldApp.java and I get the prompt back immediately and no class >file, you can even give it a garbage input file and

Re: javac problem

1998-09-17 Thread K.R. Foley
Calixto Melean wrote: > I knew this was an old one. However, in my case, when I delete those > files, javac does not do anything know. Yes, I type javac > HelloWorldApp.java and I get the prompt back immediately and no class > file, you can even give it a garbage input file and it will not compla

Re: javac problem

1998-09-17 Thread Calixto Melean
I knew this was an old one. However, in my case, when I delete those files, javac does not do anything know. Yes, I type javac HelloWorldApp.java and I get the prompt back immediately and no class file, you can even give it a garbage input file and it will not complain or do anything. Any idea? BT

Re: javac problem

1998-09-17 Thread Michael Sinz
On Thu, 17 Sep 1998 09:45:55 +0100, Matt Zagni wrote: >Mats, > >I have the same problem when I try to install netbeans. >you mentioned that to over come this problem I should > >> This is an old one delete (or rename) the libc.so* and /or libdl.so* > >Are these major lib's and what other app

Re: javac problem

1998-09-17 Thread Matt Zagni
Mats, I have the same problem when I try to install netbeans. you mentioned that to over come this problem I should > This is an old one delete (or rename) the libc.so* and /or libdl.so* Are these major lib's and what other applications will the above impact ? Is there another way of corr

Re: javac problem

1998-09-17 Thread Mats Petersson
On Wed, 16 Sep 1998, Calixto Melean (Personal) wrote: > I installed the corresponding jdk in my glibc linux system. the java > command runs fine. however, the compiler (javac) gives me the following > errors: > > SIGSEGV 11* segmentation violation > > Full thread dump: > Monitor Cache Dump:

Re: javac problem

1998-09-16 Thread Jeff Sider
I also have the exact same problem. Just install JDK-1.1.6-v4a libc version on Red Hat 4.2. If I run javac_g, I get: SIGSEGV 11* segmentation violation Full thread dump: "../../../../src/genunix/java/green_threads/src/monitor_md.c", line 443: assertion failure *** panic: Internal error dump

Re: Javac but no Java

1998-08-25 Thread Kenny Freeman
On Tue, 25 Aug 1998, [EMAIL PROTECTED] wrote: NO, KENNY FREEMAN did NOT type: > On Tue, 25 Aug 1998, Kenny Freeman wrote: > Your problem is probarbl the same that I had: > I always typed >java Test.class > which ended up in the same error message that you discribed. > Try java Test > witho

Re: Javac but no Java

1998-08-25 Thread [EMAIL PROTECTED]
On Tue, 25 Aug 1998, Kenny Freeman wrote: Your problem is probarbl the same that I had: I always typed java Test.class which ended up in the same error message that you discribed. Try java Test without .class and you will have successcribed > How about the CLASSPATH env var? echo $CLASSPATH s

Re: Javac but no Java

1998-08-25 Thread Kenny Freeman
How about the CLASSPATH env var? echo $CLASSPATH should show something like: /usr/local/jdk/lib/classes.zip:/java:. most common problem with the class not found thing is improper classpath. On Tue, 25 Aug 1998 [EMAIL PROTECTED] wrote: > Running Slackware 3.4 with JDK 1.1.5 I can run javac but wh

Re: javac (jdk1.1.5) exiting without compiling

1998-08-22 Thread Zhichao Hong
Vanga: I think you need to include the classes.zip in your class path as (if you are not using csh): "export CLASSPATH=/usr/local/jdk1.1.5/lib/classes.zip". You need to do this because the class files of JDK is archieved or zipped in the classes.zip file. You can NOT unzip this file but include

Re: javac coredumps

1998-07-10 Thread REGNUS Gensky
On 10 Jul 1998, Albert Lai wrote: > Zhichao Hong <[EMAIL PROTECTED]> writes: > > > I download jdk1.1.6 and installed on redhat linux 5.0. When I type javac, > > it just coredumps. I didn't use tar zxvf file.gz to untar the jdk, > > instead I use gunzip < file.gz| tar -xvf - > > Is this a probl

Re: javac coredumps

1998-07-10 Thread Albert Lai
Zhichao Hong <[EMAIL PROTECTED]> writes: > I download jdk1.1.6 and installed on redhat linux 5.0. When I type javac, > it just coredumps. I didn't use tar zxvf file.gz to untar the jdk, > instead I use gunzip < file.gz| tar -xvf - > Is this a problem? The way you unpacked the package is not a

Re: Javac

1998-06-03 Thread Azazel
Doh! I *knew* there was something I was missing: I should have read the FAQ. Fixed in five minutes. :) Thanks, folks. Az. >-)= Stephen Wynne wrote: > > In message <[EMAIL PROTECTED]>, Azazel writes: > > Help? I've installed jdk1.1.5-v7 under Redhat 5.1 and all > of a sudden (it was