jdk1.2 problem
The following code compiles with only a "deprecated"
warning under jdk1.2 for Windows98:
###
import java.awt.*;
import java.io.*;
import java.util.*;
public class problem extends java.applet.Applet {
Button execute_button;
TextArea output;
public void init () {
this.setLayout (new BorderLayout ());
Panel p = new Panel ();
p.setLayout (new FlowLayout (FlowLayout.LEFT));
execute_button = new Button ("Hello World");
p.add (execute_button);
this.add ("North", p);
output = new TextArea (10, 60);
this.add ("Center", output);
}
public boolean action (Event ev, Object arg) {
if (ev.target == execute_button) {
try {
output.setText (null);
output.appendText ("Some text\n");
}
catch (Exception e) {
output.appendText (e.getMessage () + "\n");
}
return true;
}
else
return false;
}
}
###
But when I try to compile it under jdk1.2 for Linux
(jdk1.2pre-v1.tar.bz2..bz2), I get the following
errors:
###
problem.java:29: warning: class java.awt.Event in
package java.awt has been deprecated
public boolean action (Event ev, Object arg) {
^
problem.java:30: variable target not found in class
java.awt.Event
if (ev.target == execute_button) {
^
problem.java:36: function appendText(java.lang.String)
not found in class java.awt.TextArea
output.appendText (e.getMessage () + "\n");
^
problem.java:33: function appendText(java.lang.String)
not found in class java.awt.TextArea
output.appendText ("Some text\n");
^
3 errors
1 warning
###
What am I missing? The downloaded file untar'd OK, and
I am able to compile other code OK. It's almost as if
some of the foundation classes were missing from the
download. These errors result whether I set my
CLASSPATH or not.
Thanks
Glenn Wiens
[EMAIL PROTECTED]
_
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java 2 for Linux
Sandy Ward writes: > Does anyone have the dates when Java 2 for Linux might be released from Sun? Uh...never, since they aren't doing it. > Sandy > > > -- > 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]
Java 2 for Linux
Does anyone have the dates when Java 2 for Linux might be released from Sun? Sandy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
I have a Java/Linux job .. anyone curious , its in Phoenix
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Java 2 for Linux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Does anyone have the dates when Java 2 for Linux might be released from Sun? Never, it looks like. JDK 1.2 (AKA Java 2) is being ported by the blackdown team, not by Sun (although I gather Sun people are helping out). / Peter Schuller - --- PGP userID: 0x5584BD98 or 'Peter Schuller <[EMAIL PROTECTED]>' E-Mail: [EMAIL PROTECTED] Web: http://hem.passagen.se/petersch Help create a free Java based operating system - www.jos.org. -BEGIN PGP SIGNATURE- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQA/AwUBN0hlrMBfJ1FVhL2YEQIQiACfelwUnHErUYNoETFTxj24/fY9BvgAnRHi 3227DAb08Z+sXWEAv31DXSMV =Y7BM -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java 2 for Linux
Sandy Ward writes: > Does anyone have the dates when Java 2 for Linux might be released from Sun? I should be clear: SUN doesn't do ports of Java 2 to Linux. The Blackdown porting team does (see http://java.blackdown.org). I'm trying to get pre-release 2 put together as we've made HUGE advances in many areas that are affecting a lot of users with pre-release 1. Hopefully sometime within the next couple of weeks it will be ready for release. Steve -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Corrupt jdk1.2pre-v1.tar.bz2 file??
Has anyone had problems with downloading the jdk1.2pre-v1.tar.bz2 file. I have downloaded a copy (tried three different mirrors and checked that the ftp type is binary) and when I use bunzip2 to extract the tar file I get the following error: bunzip2 jdk1.2pre-v1.tar.bz2 bunzip2: Data integrity error when decompressing. Input file = jdk1.2pre-v1.tar.bz2, output file = jdk1.2pre-v1.tar It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files. You can use the `bzip2recover' program to *attempt* to recover data from undamaged sections of corrupted files. bunzip2: Deleting output file jdk1.2pre-v1.tar, if it exists. Please can anyone help? -- Steven Maddocks Real-Time Systems Analyst VENCorp Melbourne AUSTRALIA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
IBM JDK (RE: GC... faster?)
Where can I get IBM JDK for Linux ??? -- Aravind > -Original Message- > From: Sandy Ward [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 23 May 1999 08:45 > To: Jonas Erikson > Cc: Bryce McKinlay; [EMAIL PROTECTED] > Subject: Re: GC... faster? > > > I am not to sure about Blackdown but I do that I IBM JVM for Linux. > (1.1.7 is going to be available very soon, with 1.2 to follow close) has > unbeleivable garbage collection. They do the GCing similar to HotSpot > actually if I am not mistaken their GCing is better than HotSpot. > > So you even if it is not provided by Blackdown you will have an > alternative. > > Sandy > > Jonas Erikson wrote: > > > I use jdk1.2 using massive memmory allocation (>512M) > > and at the same time WeakReferences for object persistance > > and cacheing. This usualy contributes to double GC-pass > > (from weakref) and long GC-delays. > > > > Now, does jdk1.2 use ageing GC-frames or realtime GC > > or anyting like hotspot/self features? > > > > Any plans here? > > > > My benchmark indicates a 2-5 times speedup using the > > Solaris version of jdk1.2. > > > > (you could use the GC from Self-src that is implemented in hotspot) > > > > Anyway thankyou backdown... ;-) > > > > Best, > > Jonas IllumiNet. > > > > Bryce McKinlay wrote: > > > Sandy Ward wrote: > > > > Anyone know much about the garbage collector for the > Blackdown JVM? I am talking > > > > about comparisons to Sun's, IBM's, etc. From recent > experience it seems that > > > > the GC takes one big pause to collect the garbage where as > other VM's do it a > > > > little more smoothly. > > > > > > > > Any thoughts? > > > > > > Using native threads, GC runs more smoothly with > significantly less noticable > > > pausing. > > > > > > Unfortuntatly, native threads are not working properly in the > current blackdown JDK > > > 1.1.7v3 (at least on Redhat 6.0). > > > > > > regards > > > > > > [ bryce ] > > > > -- > > 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] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: GC... faster?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I am not to sure about Blackdown but I do that I IBM JVM for Linux. > (1.1.7 is going to be available very soon, with 1.2 to follow close) *GASP* Are you sure about that? I'm feeling lightheaded. Where can I read about it? Has IBM done a press release? Go IBM! / Peter Schuller - --- PGP userID: 0x5584BD98 or 'Peter Schuller <[EMAIL PROTECTED]>' E-Mail: [EMAIL PROTECTED] Web: http://hem.passagen.se/petersch Help create a free Java based operating system - www.jos.org. -BEGIN PGP SIGNATURE- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQA/AwUBN0gFCMBfJ1FVhL2YEQKvJQCgq67dWyMVrzKLlOgD7sPANlAiNE0AoM0/ 6bLvlrzDXESehQlcbYjZwZOa =tlzY -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java app server on linux ?
The only plausible reason I can think of is performance. Anybody measured encryption speed when using RSA's libs? Nitin Borwankar writes: > ACtually the Java WebServer is 100% Java. > the SSL libraries are C and currently are only available on NT and > Solaris. > But you can run the server on Linux without using SSL. > Actually there appears to be no excuse for SSL in C as > RSA makes JSAFE libraries in Java which could eb used for SSL by > JavaSoft. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java app server on linux ?
Yes, to DB2 from EJB. DB2 runs beautifully on Linux. I am running the beta version but it is still great. Give it plenty of memory though. But we will soon try out Oracle 8. We are fairly confident as Oracle's JDBC type 4 driver is very good. I have used it elsewhere. Hopefully should not have too many problems. -- Aravind On Sun, May 23 1999, Nitin Borwankar wrote: Nitin> Nitin> Aravind Selvaraje wrote: Nitin> > Nitin> > My case Nitin> > Nitin> > RedHat 6.0 Nitin> > JDK 1.1.7 v2 Nitin> > BEA WebLogic 4.02 Nitin> > Nitin> > Also, using Apache and Jserv. Nitin> Nitin> Do you connect to any of the big name databases over JDBC ? Nitin> ( Oracle, Sybase, DB2 ... ) Nitin> Nitin> Nitin. Nitin> Nitin> > Nitin> > Works great. Nitin> > Nitin> > > -Original Message- Nitin> > > From: Nitin Borwankar [mailto:[EMAIL PROTECTED]] Nitin> > > Sent: Sunday, 23 May 1999 12:30 Nitin> > > To: [EMAIL PROTECTED] Nitin> > > Subject: Java app server on linux ? Nitin> > > Nitin> > > Nitin> > > Nitin> > > Is anyone using (development or production) Nitin> > > a Java application server such as BEA Weblogic or even Nitin> > > an all Java HTTP server such as Javasoft's Java WebServer ? Nitin> > > Nitin> > > Is this feasible at all ? Nitin> > > Nitin> > > What version JDK do you use on what Linux distro and version ? Nitin> > > Nitin> > > I am setting up a development environment for 3-tier Java apps Nitin> > > and would like to use Linux but don't know if it's feasible Nitin> > > I would prefer cases of 100% Java app servers but those built in Nitin> > > C/C++ that serve EJB and/or Java Servlets will also do. Nitin> > > Nitin> > > I will be doing this for a development environment for production Nitin> > > applications and need some real life working cases I can point to. Nitin> > > Nitin> > > Thanks! Nitin> > > Nitin> > > Nitin Borwankar Nitin> > > [EMAIL PROTECTED] Nitin> > > Nitin> > > Nitin> > > -- Nitin> > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] Nitin> > > with a subject of "unsubscribe". Trouble? Contact Nitin> > > [EMAIL PROTECTED] Nitin> > > Nitin> > > Nitin> Nitin> Nitin> -- Nitin> To UNSUBSCRIBE, email to [EMAIL PROTECTED] Nitin> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] Nitin> Nitin> This is the default signature. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java app server on linux ?
Aravind Selvaraje wrote: > > My case > > RedHat 6.0 > JDK 1.1.7 v2 > BEA WebLogic 4.02 > > Also, using Apache and Jserv. Do you connect to any of the big name databases over JDBC ? ( Oracle, Sybase, DB2 ... ) Nitin. > > Works great. > > > -Original Message- > > From: Nitin Borwankar [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, 23 May 1999 12:30 > > To: [EMAIL PROTECTED] > > Subject: Java app server on linux ? > > > > > > > > Is anyone using (development or production) > > a Java application server such as BEA Weblogic or even > > an all Java HTTP server such as Javasoft's Java WebServer ? > > > > Is this feasible at all ? > > > > What version JDK do you use on what Linux distro and version ? > > > > I am setting up a development environment for 3-tier Java apps > > and would like to use Linux but don't know if it's feasible > > I would prefer cases of 100% Java app servers but those built in > > C/C++ that serve EJB and/or Java Servlets will also do. > > > > I will be doing this for a development environment for production > > applications and need some real life working cases I can point to. > > > > Thanks! > > > > Nitin Borwankar > > [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: Java app server on linux ?
[EMAIL PROTECTED] wrote: > > Someone correct me if I'm wrong, but I don't think Java Webserver is an > all java web server. ACtually the Java WebServer is 100% Java. the SSL libraries are C and currently are only available on NT and Solaris. But you can run the server on Linux without using SSL. Actually there appears to be no excuse for SSL in C as RSA makes JSAFE libraries in Java which could eb used for SSL by JavaSoft. Nitin. > > On Sat, 22 May 1999, Nitin Borwankar wrote: > > > > > Is anyone using (development or production) > > a Java application server such as BEA Weblogic or even > > an all Java HTTP server such as Javasoft's Java WebServer ? > > > > Is this feasible at all ? > > > > What version JDK do you use on what Linux distro and version ? > > > > I am setting up a development environment for 3-tier Java apps > > and would like to use Linux but don't know if it's feasible > > I would prefer cases of 100% Java app servers but those built in > > C/C++ that serve EJB and/or Java Servlets will also do. > > > > I will be doing this for a development environment for production > > applications and need some real life working cases I can point to. > > > > Thanks! > > > > Nitin Borwankar > > [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: getStickySystemClass failed jdk1.2 and RH6.0
Don't be so sure. try to set your DEFAULT_THREADS_FLAG=green in your .java_wrapper On Sat, 22 May 1999, Glenn Valenta wrote: > Found it! Thanks to Riyad Kalla for pointing me in the right direction. RH6.0 > uses glib2.1 and will not work with jdk1.2 yet. > > Glenn Valenta wrote: > > > > I'm loading the jdk1.2 onto a new computer with Redhat6.0. and received this > > error when I simply run "java" with no arguments: > > > > *** panic: GC: getStickySystemClass failed: java/lang/ref/Reference > > CLASSPATH may be incorrect > > SIGABRT 6* abort (generated by abort(3) routine) > > stackpointer=0xb540 > > > > Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v1, native threads): > > "main" (TID:0x410e81e0, sys_thread_t:0x81436e8, state:R, native ID:0x400) > > prio=5: pending=java.lang.OutOfMemoryError > > Monitor Cache Dump: > > Registered Monitor Dump: > > utf8 hash table: > > JNI pinning lock: > > JNI global reference lock: > > BinClass lock: > > Class linking lock: > > System class loader lock: > > Code rewrite lock: > > Heap lock: > > Monitor cache lock: owner "main" (0x81436e8) 1 entry > > Thread queue lock: owner "main" (0x81436e8) 1 entry > > Dynamic loading lock: > > Monitor registry: owner "main" (0x81436e8) 1 entry > > > > I have read the notes and increased the NR_TASKS in tasks.h to 1512 (from it's > > default of 512) > > > > I have seen others on this list with the same problem and they solved it by > > turning of native threads but I need native threads. > > > > Anybody have any Ideas where to start? > > > > TIA! > > > -- > Glenn Valenta Engineering @ http://www.coloradostudios.com > [EMAIL PROTECTED] http://ouray.cudenver.edu/~gavalent/ > [EMAIL PROTECTED] Personal mail > [EMAIL PROTECTED] Work mail > > > -- > 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: Java app server on linux ?
Someone correct me if I'm wrong, but I don't think Java Webserver is an all java web server. On Sat, 22 May 1999, Nitin Borwankar wrote: > > Is anyone using (development or production) > a Java application server such as BEA Weblogic or even > an all Java HTTP server such as Javasoft's Java WebServer ? > > Is this feasible at all ? > > What version JDK do you use on what Linux distro and version ? > > I am setting up a development environment for 3-tier Java apps > and would like to use Linux but don't know if it's feasible > I would prefer cases of 100% Java app servers but those built in > C/C++ that serve EJB and/or Java Servlets will also do. > > I will be doing this for a development environment for production > applications and need some real life working cases I can point to. > > Thanks! > > Nitin Borwankar > [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: Java app server on linux ?
Try w3c JIGSAW Web/Java Application Server; 100% Java HTTP and Servlet Runner. It runs on my Linux & NT Server both fine It's quite cool but still slow and a bit buggy Steve -Original Message- From: Nitin Borwankar <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Sunday, May 23, 1999 12:29 PM Subject: Java app server on linux ? > >Is anyone using (development or production) >a Java application server such as BEA Weblogic or even >an all Java HTTP server such as Javasoft's Java WebServer ? > >Is this feasible at all ? > >What version JDK do you use on what Linux distro and version ? > >I am setting up a development environment for 3-tier Java apps >and would like to use Linux but don't know if it's feasible >I would prefer cases of 100% Java app servers but those built in >C/C++ that serve EJB and/or Java Servlets will also do. > >I will be doing this for a development environment for production >applications and need some real life working cases I can point to. > >Thanks! > >Nitin Borwankar >[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: Java app server on linux ?
My case RedHat 6.0 JDK 1.1.7 v2 BEA WebLogic 4.02 Also, using Apache and Jserv. Works great. > -Original Message- > From: Nitin Borwankar [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 23 May 1999 12:30 > To: [EMAIL PROTECTED] > Subject: Java app server on linux ? > > > > Is anyone using (development or production) > a Java application server such as BEA Weblogic or even > an all Java HTTP server such as Javasoft's Java WebServer ? > > Is this feasible at all ? > > What version JDK do you use on what Linux distro and version ? > > I am setting up a development environment for 3-tier Java apps > and would like to use Linux but don't know if it's feasible > I would prefer cases of 100% Java app servers but those built in > C/C++ that serve EJB and/or Java Servlets will also do. > > I will be doing this for a development environment for production > applications and need some real life working cases I can point to. > > Thanks! > > Nitin Borwankar > [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]
Java app server on linux ?
Is anyone using (development or production) a Java application server such as BEA Weblogic or even an all Java HTTP server such as Javasoft's Java WebServer ? Is this feasible at all ? What version JDK do you use on what Linux distro and version ? I am setting up a development environment for 3-tier Java apps and would like to use Linux but don't know if it's feasible I would prefer cases of 100% Java app servers but those built in C/C++ that serve EJB and/or Java Servlets will also do. I will be doing this for a development environment for production applications and need some real life working cases I can point to. Thanks! Nitin Borwankar [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Corrupt jdk1.2pre-v1.tar.bz2 file??
- Original Message - From: Steven Maddocks <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 24, 1999 4:38 PM Subject: Corrupt jdk1.2pre-v1.tar.bz2 file?? > Has anyone had problems with downloading the jdk1.2pre-v1.tar.bz2 file. I have > downloaded a copy (tried three different mirrors and checked that the ftp type > is binary) and when I use bunzip2 to extract the tar file I get the following > error: > > bunzip2 jdk1.2pre-v1.tar.bz2 > > bunzip2: Data integrity error when decompressing. > Input file = jdk1.2pre-v1.tar.bz2, output file = jdk1.2pre-v1.tar were they all .au mirrors? i have had this trouble from mirror.aarnet.edu.au. > It is possible that the compressed file(s) have become corrupted. sure looks that way to me. I tried to contact the maintainers of mirror.aarnet.edu.au but the address they list ([EMAIL PROTECTED]) does not seem to exist. For the record the size of the file I got from aarnet is 24,457,274 bytes and the md5sum is 731ec3df6d3033ec96fe95694f3cdedc. What should these be? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
