pathelement with javac

2005-05-31 Thread THUFIR HAWAT
definition of reference to tidy.path [echo] classpath=/home/thufir/java/lib/Tidy.jar clean: [delete] Deleting directory /home/thufir/java/bin prepare: [mkdir] Created dir: /home/thufir/java/bin compile: [javac] Compiling 1 source file to /home/thufir/java/bin [javac] /home/thufir/java/src

javac error

2003-03-21 Thread Arijit Mahapatra
Hi all, I have installed JRE 1.3.1 on linux red-hat 8 machine.   "java" command is working but when i try to run "javac" it gives the error   loading shared libraries: libhpi.so: cannot open shared object file   this libhpi.so in present in .../greenthreads   

Re: problem with javac

2001-09-04 Thread Erik
Jimi, Are you sure you installed the right version of java for Redhat 7? Which package did you install? On Tue, 4 Sep 2001, jimi shah wrote: > Dear friends, >I have installed java on redhat linux 7. >But when i tried to compile .java file with > javac, it gives fol

problem with javac

2001-09-04 Thread jimi shah
Dear friends, I have installed java on redhat linux 7. But when i tried to compile .java file with javac, it gives following error: javac: cannot execute binary file I am waiting for reply of any body who knows how to fix this error. thanking you, jimi shah

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 JD

Javac Hangs

2001-02-04 Thread Wendy Schafer
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 it and nothing worked. It se

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

2000-12-19 Thread Mo DeJong
On Tue, 19 Dec 2000, Man Chi Ly wrote: > one issue I'm having with jikes is that (I quote from the FAQ): Well, the java-linux list is not really the right place to talk about issues you have with jikes. I think it is ok to post something like "Jikes is neat, you should try it" since it is a java

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

2000-12-19 Thread Man Chi Ly
one issue I'm having with jikes is that (I quote from the FAQ): Jikes allows the use of JAR files, which have the standard "zip" format, provided that any contained class files are stored either using no compression or the default "DeflatedN" compression (also known as "method 8" in zip-speak).

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

2000-12-19 Thread David Brownell
> I guess I didn't explain the problem very well (and glancing at the > gcj web site didn't show me the answer). For one thing, I'm assuming > that gcj will do inlining. I think right now it doesn't do much of that. Though I've known folk who look at providing member access without a function c

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

2000-12-19 Thread David Brownell
> = From: Cliff Draper <[EMAIL PROTECTED]> > = Sent: Tuesday, December 19, 2000 10:35 AM > > = From: David Brownell <[EMAIL PROTECTED]> > > = Date: Mon, 18 Dec 2000 19:52:46 -0800 > > My own experience with GCJ is positive. For many things it's > > faster than Hotspot, and the startup time

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

2000-12-19 Thread Joi Ellis
, > > > 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. Jike

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

2000-12-19 Thread Nathan Meyers
Juergen Kreileder wrote: > >>>>> "Nathan" == Nathan Meyers <[EMAIL PROTECTED]> writes: > > Nathan> I used to believe that until I tried, some months back, a > Nathan> side-by-side comparison of some benchmark code compiled by >

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

2000-12-19 Thread Mr.Y.SHIVAKANT
What are the disadvantages of using jikes instead of javac? >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 grea

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

2000-12-19 Thread Uncle George
I think this is just passing the buck. Javac should do its 'optimizations' ( whatever they may be ) irrespective of the fact that a JIT might be there ( or any other accellerator/translator ). Nor is there any guarantee that a JIT will optimize anything in its translations. Mo De

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

2000-12-19 Thread Juergen Kreileder
>>>>> "Nathan" == Nathan Meyers <[EMAIL PROTECTED]> writes: Nathan> Mo DeJong wrote: >> On Mon, 18 Dec 2000, Joseph Shraibman wrote: >> >> > In at least a few instances that I know of, jikes produces >&

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

2000-12-19 Thread Levente Farkas
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 b

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

2000-12-19 Thread Ola Samuelson
Have you done any tests on SMP using SE v1.3.0-FCS based on Sun's 1.3.0_01 code? //OLAS Nathan Meyers wrote: > > 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-

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 o

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

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 > &

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

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

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 some

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 r

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,

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

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 prob

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&#

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 impleme

javac parser bug in blackdown jdk?

2000-08-03 Thread Dimitris Vyzovitis
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 following: file a.java: interface a { interface b {

Re: Question about @ argument to javac

2000-07-17 Thread Chris Abbey
At 19:04 7/17/00 -0700, Nathan Meyers wrote: >But you're *not* running javac with no arguments. No arguments suggests >you don't know the command and want some help - specifying an argument >like "@empty" suggests something very different. BTW, IBM's JDK1.3 &

Re: Question about @ argument to javac

2000-07-17 Thread Nathan Meyers
Mo DeJong wrote: > I am not sure this is a java-linux question, so feel free > to flame me, but ... > > Does this seem like an error to anyone else? > > echo "" > empty > javac @empty > > I would tend to think that this is the same as > running javac

Question about @ argument to javac

2000-07-17 Thread Mo DeJong
I am not sure this is a java-linux question, so feel free to flame me, but ... Does this seem like an error to anyone else? echo "" > empty javac @empty I would tend to think that this is the same as running javac with no arguments, so it should display a help message. Th

javac and sourcepath

2000-06-13 Thread yangyuexiang
Hi, I installed jdk1.3 from IBM. I met the problem when I specify the sourcepath. It seems that "javac -sourcepath" does not work. Why??? Thanks advance? yangyuexiang -- To UNSUBSCRIBE, email to [EMAIL PROTECT

Re: Changes to javac?

2000-05-20 Thread Nathan Meyers
Zach Buckner wrote: > Just wanted to say thanks, first of all, for making such a clean, useful > website. You have much more content than most sites, and it's actually > easy to navigate. > > I've downloaded the JDK source from Sun, and have spent a little time > tan

Changes to javac?

2000-05-20 Thread Zach Buckner
Just wanted to say thanks, first of all, for making such a clean, useful website. You have much more content than most sites, and it's actually easy to navigate. I've downloaded the JDK source from Sun, and have spent a little time tangling with the javac package. I need a java compi

Re: java.lang.NoClassDefFoundError: sun/tools/javac/Main

2000-03-27 Thread Chris Kelly
developed worked under the old jdk1.1.7v3, but now they are broken. The >error I get is: >java.lang.NoClassDefFoundError: sun/tools/javac/Main >at org.gjt.jsp.JSPCompiler.compileJavaFile(JSPCompiler.java, Compiled Code) >at org.gjt.jsp.JSPCompiler.compile(JSP

Re: java.lang.NoClassDefFoundError: sun/tools/javac/Main

2000-03-27 Thread Juergen Kreileder
I get is: Robert> java.lang.NoClassDefFoundError: sun/tools/javac/Main Robert> at org.gjt.jsp.JSPCompiler.compileJavaFile(JSPCompiler.java, Compiled Code) Robert> at org.gjt.jsp.JSPCompiler.compile(JSPCompiler.java, Compiled Code) Robert> at or

Re: java.lang.NoClassDefFoundError: sun/tools/javac/Main

2000-03-27 Thread Lorin Kobashigawa
;performance than I had before. > > However, I have a team of developers working on a new project. The jsp's >they developed worked under the old jdk1.1.7v3, but now they are broken. The >error I get is: >java.lang.NoClassDefFoundError: sun/tools/javac/Main >at org.gjt.jsp.J

Re: java.lang.NoClassDefFoundError: sun/tools/javac/Main

2000-03-27 Thread Robert Miller
Thanks guys! You nailed it! I've forwarded the appropriate URLs to my developers to see what they say about it. I hope it won't be too much of a problem to get that issue resolved. thanks again! On 27 Mar 2000, Juergen Kreileder wrote: Peter did, too =) > > org.gjt.jsp.JSPCompil

java.lang.NoClassDefFoundError: sun/tools/javac/Main

2000-03-27 Thread Robert Miller
m of developers working on a new project. The jsp's they developed worked under the old jdk1.1.7v3, but now they are broken. The error I get is: java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.gjt.jsp.JSPCompiler.compileJavaFile(JSPCompiler.java, Compi

Rectangle problem javac:108: Wrong number of arguments in constructor.

1999-11-22 Thread DKoontz
Here's the compiler error I'm getting: /home/dak/Java/Training/src/Mat.java:108: Wrong number of arguments in constructor. g2.fill(new Rectangle(x, y, rectWidth, rectHeight)); What gives? The API docs for Java 1.2 has this const. The Java Trail 2D Graphics example StrokeAndFill.java has a simil

IllegalMonitorStateException when running javac?

1999-11-09 Thread Jari . P . Kinnunen
Hi! I have suddenly started to get following exception when running javac. Does anyone know a reason for this and how I can fix this. It seems that the compilation goes anyway fine. I am using Linux_JDK_1.2_pre-release-v2 java.lang.IllegalMonitorStateException: current thread not owner

RE: Javac error and ANOTHER QUESTION

1999-09-07 Thread -=Steve-o=-
wrong. Just so you know. Thanks...;-) ** > > $ /usr/local/jdk117_v3/bin/javac hw01_FirstProgram.java > > I know that there is some way to make a path so you only have to say > javac hw01_FirstProgram.java? I tried the e

RE: Javac error and ANOTHER QUESTION

1999-09-07 Thread Smiley, Jr., Edward
I did that and it worked great. Thanks! I just have two other problems. Everytime I want to run the complier I have to say the following: $ /usr/local/jdk117_v3/bin/javac hw01_FirstProgram.java I know that there is some way to make a path so you only have to say javac hw01_FirstProgram.java

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 ~~

Javac error

1999-09-07 Thread Smiley, Jr., Edward
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: error in loading shared libraries: /usr/local/jdk117_v 1a/lib/i686/green_threads/libjava.so: undefined symbol: _dl_symbol_value Can anyon

Re: First time user of jdk - cannot run Javac

1999-08-14 Thread Hermon
a copy of the message I submitted at first to [EMAIL PROTECTED] : Hello, I have installed jdk-1.1.7_v1a glibc on a RedHat 5.2 Linux i386 , with 2.2.10 kernel (rpm installation). When trying to run javac, I get the followi

Re: First time user of jdk - cannot run Javac

1999-08-14 Thread Hermon
Thanks for your answer. I have scanned my whole HDD, and javac is only under the jdk directory. I haven't found kaffe either. Hermon Michael Sinz wrote: > On Fri, 13 Aug 1999 21:17:21 +0200, Hermon wrote: > > >Hello, > > > >I have installed jdk-1.1.7_v1a gli

First time user of jdk - cannot run Javac

1999-08-13 Thread Hermon
Hello, I have installed jdk-1.1.7_v1a glibc on a RedHat 5.2 Linux i386 , with 2.2.10 kernel (rpm installation). When trying to run javac, I get the following message : "unable to initialize threads: cannot find class java/lang/Thread". The classes.zip file is installed

Problem aobut running javac & appletviewer...

1999-06-19 Thread Anonymous
Hi, When I run javac & appletviewer, I got the following message: /usr/local/jdk117_v1a/bin/checkVersions: /tmp/ldd.out.10047:Permission denied. /usr/local/jdk117_v1a/bin/i586/green_threads/appletviewer: /usr/bin/mkdir: No such file or directory SIGSEGV 11* segmentation viola

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

1999-04-03 Thread Anil kumar
" + > number + > " is " + > Math.sqrt(number), 5, 50); > } > } > [root@localhost java]# javac RootApplet.java > RootApplet.java:3: Superclass com.sun.java.swing.JApplet of class > RootApplet not found. > public class R

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
"The square root of " + > number + > " is " + > Math.sqrt(number), 5, 50); > } > } > [root@localhost java]# javac RootApplet.java > RootApplet.java:3: Superclass com.sun.java.swing.JApplet of class > RootApplet not found. > public class RootApplet extends com.

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 &

javac-BUG ???

1999-04-02 Thread Dipl.-Ing. Dr. Mustafa Radi
n the batch in the FAQs does not result to satisfying GUIs 2.) The javac compiler seems to be buggy since some of the projects leads to >>nullpointerexceptions<< or other very strange behaviors. Unfortunately, the source-code is very huge, that I still could not

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 { --

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

1999-03-31 Thread Richard James
= (Graphics2D) screen;screen2D.drawString("The square root of " +number +" is " +Math.sqrt(number), 5, 50);}}[root@localhost java]# javac RootApplet.javaRootApplet.java:3: Superclass com.sun.java.swing.JApplet of classRootApplet not found.public class RootApplet extends com.sun.ja

Re: javac 1.2 a real pig

1999-03-13 Thread Volker Augustin
://www.ibm.com/research/jikes and the stable version is available from http://www.alphaworks.ibm.com/ Volker > Date: Fri, 12 Mar 1999 10:08:27 -0600 > From: Steve Cohen <[EMAIL PROTECTED]> > To:[EMAIL PROTECTED] > Subject: javac 1.2 a real pig > both

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

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: > >

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

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

javac 1.2 a real pig

1999-03-12 Thread Steve Cohen
both time-wise and memory usage wise. I've had to boost the default heap size to 20 MB. (Possibly this is because I'm compiling with -verbose because I had to see what the heck was taking it so long.) Is a 1.2-compatible jikes available yet? The jikes I used for 1.1.7 seems to zip through the

Re: javac compiler exception - errata

1999-02-24 Thread Uli Luckas
y try to bring some light to how javac is translating your code and point to a very related bug. The expression Object.class generates code that you certainly don't expect. javac has a very broken way of handling expressions containing .class. Basically when used in a class A the .class expre

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 UNSUBSCR

javac compiler exception - errata

1999-02-24 Thread Ron Resnick
Thanks for the rapid responses Martin, Steve. I'll quickly take this off blackdown due to its non-Linux relevance. I thought I would point out the following though: If you insert an actual executable hunk of code into the if block, things work properly. Eg, consider class foo { void bar (Objec

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.co

javac compiler exception

1999-02-24 Thread Steve Byrne
Ron Resnick writes: > 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.costI

javac compiler exception

1999-02-24 Thread Ron Resnick
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)

Remote javac/javah compiler?

1999-02-12 Thread Rob Schoening
Hi- Over on the BeOS porting project we're trying to devise a way to build the JDK without a java runtime to run javac or javah. While we can use jikes to replace javac, javah is a bit more difficult. My current idea is replace the javah classloader so that it can load the classes ove

Which optimizations does the javac compiler do?

1998-12-14 Thread Kontorotsui
I noticed the -O flag of the javac compiler. What are the optimizations that the javac usually does? Which ones are activated by the -O flag? I tried the -O flag in my n-body distributed computing java application, but the performance was worse than without the -O flag. --- Andrea "Kontor

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 &

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

javac - library errors

1998-12-12 Thread Lord Bodah
every time i try to compile, i get one of the following 2 errors: in X, i get: [Bodah@Bodah Bodah]$ javac No library path set. On just the console, i get: Unable to find native libraries in /usr/local/jdk/lib What i have in .profile and .bash_profile are: JAVA_HOME

Re: jikes vs. javac

1998-12-05 Thread John Summerfield
on windows symantec JIT VMs. we got multiple exceptions and system > crashes with our applications. this 'works' on sun jdk 1.1.6 for windows and > netscape 4.05 (builtin VM). the only workaround is to disable the jit by > renaming the symjit.dll and compilation with javac (see to

Re: nested classes, packages, and javac depend

1998-12-04 Thread David Warnock
If it contains a > comment, rezip it without the comment... > > followed by many errors involving the swing components. > > What does this indicate? I never saw THESE errors with javac. I have seen this one before but it was quite a while ago and I am struggling to remember what

Re: nested classes, packages, and javac depend

1998-12-04 Thread Steve Cohen
s could now run. I can see it's much faster. However, it produced this output *** Warning: "/usr/local/java/swing/swing-1.0.3/swingall.jar " is either not a valid zip file or it contains a zip file comment. If it contains a comment, rezip it without the comment... followed by many errors involving the swing components. What does this indicate? I never saw THESE errors with javac.

Re: nested classes, packages, and javac depend

1998-12-04 Thread David Warnock
> > The address is http://www.alphaworks.ibm.com/formula/Jikes/ (it's > > available as a link from the blackdown site). > Either this URL is wrong or their server is down. I cannot connect. Steve, I am pretty sure the url is correct but I also could not connect just now. As John has said a

Re: nested classes, packages, and javac depend

1998-12-04 Thread jh
[EMAIL PROTECTED] writes: > On Fri, 4 Dec 1998, David Warnock wrote: > > Can I suggest you download the JIKES compiler from IBM. It's free, it > > runs an order of magnitude faster than JAVAC and so far as I can see > > the -depend works. You may want to use the

Re: nested classes, packages, and javac depend

1998-12-04 Thread Steve Cohen
David Warnock wrote: > Steve, > > > I find that I'm unable to get rid of the following errors when I do > a > > javac depend of my whole project: > > I have read soimewhere sometime that javac -depend is not reliable. > > Can I suggest you download the

jikes vs. javac

1998-12-04 Thread Axel Zeilner
Hi, David Warnock wrote: ___ snip > I find that I'm unable to get rid of the following errors when I do a > javac depend of my whole project: I have read soimewhere sometime that javac -depend is not reliable. Can I suggest you download the JIKES compiler from IBM. It'

Re: nested classes, packages, and javac depend

1998-12-04 Thread John Summerfield
On Fri, 4 Dec 1998, David Warnock wrote: > Steve, > > > I find that I'm unable to get rid of the following errors when I do > a > > javac depend of my whole project: > > I have read soimewhere sometime that javac -depend is not reliable. > > Can I sugges

Re: nested classes, packages, and javac depend

1998-12-04 Thread John Summerfield
On Fri, 4 Dec 1998, Steve Cohen wrote: > I find that I'm unable to get rid of the following errors when I do a > javac depend of my whole project: > > error: File /usr/local/java/xyz/Scheduler.java does not contain nested > class xyz.Scheduler. 1 as expected. Please adju

Re: nested classes, packages, and javac depend

1998-12-04 Thread David Warnock
Steve, > I find that I'm unable to get rid of the following errors when I do a > javac depend of my whole project: I have read soimewhere sometime that javac -depend is not reliable. Can I suggest you download the JIKES compiler from IBM. It's free, it runs an order of magni

nested classes, packages, and javac depend

1998-12-03 Thread Steve Cohen
I find that I'm unable to get rid of the following errors when I do a javac depend of my whole project: error: File /usr/local/java/xyz/Scheduler.java does not contain nested class xyz.Scheduler. 1 as expected. Please adjust the class path so that the file does not appear in the packag

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 &

Re: setup question--aka, lifeless javac with RedHat 5.0 and jdk116_v5

1998-10-16 Thread Jim Ridenour
ce as long to upload the two different formats >and thus I would like to have only one, but since I do the upload in >auto-pilot mode while I am away from my machines usually, it does not >bother me too much) > >>2. Having uncompressed JDK116v5 (the one without the "b" at

Re: lifeless javac with RedHat 5.0 JDK1.1.6v5

1998-10-15 Thread Sze Yuen Wong
t; Jason Chambers wrote (well, quoted): > > > If I create a test.java file and then invoke "javac test.java", nothing > > happens. I just get a command prompt back. No test.class file is > > created, no errors, no messages, nothing. > > A few weeks ago, wh

Re: lifeless javac with RedHat 5.0 JDK1.1.6v5

1998-10-15 Thread Michael Sinz
On Thu, 15 Oct 1998 17:15:47 -0400 (EDT), Jim Burmeister wrote: >Jason Chambers wrote (well, quoted): > >> If I create a test.java file and then invoke "javac test.java", nothing >> happens. I just get a command prompt back. No test.class file is >> create

Re: My source code crashes javac

1998-10-15 Thread mlorton
> I am trying to compile the attached program in javac. I've tested it > under Sun's JDK 1.1.5 on Solaris, Symantec's Visual Cafe (forgot which > version, but it's based on JDK 1.1.3) on Windows NT, and Blackdown's JDK > 1.1.6v5 on Linux. A

Re: lifeless javac with RedHat 5.0 JDK1.1.6v5

1998-10-15 Thread Jim Burmeister
Jason Chambers wrote (well, quoted): > If I create a test.java file and then invoke "javac test.java", nothing > happens. I just get a command prompt back. No test.class file is > created, no errors, no messages, nothing. A few weeks ago, when I decided to start using Jav

Re: lifeless javac with RedHat 5.0 JDK1.1.6v5

1998-10-15 Thread Java News Collector
sounds like you may be executing a different javac. Have you got kaffe installed, by chance? Douglas Toltzman At 12:08 PM 10/15/98 -0700, Chambers Jason wrote: >I picked up the following message from the mailing list: > > >>2. Having uncompressed JDK116v5 (the one without the "b&qu

lifeless javac with RedHat 5.0 JDK1.1.6v5

1998-10-15 Thread Chambers Jason
I picked up the following message from the mailing list: >2. Having uncompressed JDK116v5 (the one without the "b" at the end) it >creates all the directories to hold the jdk. If I go into /jdk116v5/bin >and create a test.java file and then invoke "javac test.java&quo

Re: My source code crashes javac

1998-10-15 Thread Rainer Werlein
On Thu, 15 Oct 1998 00:23:45 -0500, Trevor Harmon wrote: >I am trying to compile the attached program in javac. I've tested it >under Sun's JDK 1.1.5 on Solaris, Symantec's Visual Cafe (forgot which >version, but it's based on JDK 1.1.3) on Windows NT, and Blackdown

My source code crashes javac

1998-10-15 Thread Trevor Harmon
I am trying to compile the attached program in javac. I've tested it under Sun's JDK 1.1.5 on Solaris, Symantec's Visual Cafe (forgot which version, but it's based on JDK 1.1.3) on Windows NT, and Blackdown's JDK 1.1.6v5 on Linux. All of them g

  1   2   >