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
> 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
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
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
> "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
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
., 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
which linux dist. are you using?
~
Yohans Mendoza Unix Administrator
[EMAIL PROTECTED]Sirius Images Inc.
http://www2.utep.edu/~yohanshttp://www.sirius-images.net
~~
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
"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
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
"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<<
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 {
--
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
>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
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
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
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
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!)
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
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
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
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
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)
>
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@
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
46 matches
Mail list logo