Re: Garbage collection
On 24 Jan 00, at 10:22, yangyuexiang wrote: > Who can tell me how to detect the algorithm used in > JVM for garbage collection? The correct implementation is not specified and port dependant. If your questions refers to finding out which algorithm is used in a specific port, you will have to look at the manufacturers source code. Oliver ___ S.E.S.A. Software und Systeme AG [EMAIL PROTECTED] Dept. Stuttgart http://www.sesa.de Oliver Fels Tel. +49-711-139935-596Mittlerer Pfad 2 Fax. +49-711-139935-510D-70499 Stuttgart ___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
java 3d and browser
I can run java 3d application on linux. But I cannot run applet in the browser. Who can give me some suggestions? The error is --NoClassDefFoundError Thanks yang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: libioser12.so
Hi, Here it is. Enjoy, Steven - Original Message - From: Weiqi Gao <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 25, 2000 10:59 AM Subject: libioser12.so > Hi, > > A few days ago, a Linux version of libioser12.so (needed to run J2EE on > Linux) was posted on this list. I saved it at the time but then deleted > it by mistake. And I couldn't find the message in the mailing list > archive (stringe!) so I don't have the exact email address of the > poster. > > Could the original poster (or anyone who has saved the file) email me > the file again? Thanks in advance. > > -- > Weiqi Gao > [EMAIL PROTECTED] > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > libioser12.so
java 3d and browser
> I can run java 3d application on linux. also, I can run the applet through appletviewer, But I cannot run applet in the browser. Who can give me some suggestions? The error is --NoClassDefFoundError Thanks yang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Pipes
Dear List, Can someone tell me how I can create a pipe file? I can reading and write to a file that already exists, but I need to be able to create the file if it does not exist. Cheers, Marcus Marcus Monaghan BOOT Computers Limited Tel : 01270 611299 Fax : 01270 611302 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: java 3d and browser
On 25 Jan 00, at 18:58, yangyuexiang wrote: > > I can run java 3d application on linux. > > also, I can run the applet through appletviewer, But I cannot run > applet in the browser. Who can give me some suggestions? > The error is --NoClassDefFoundError Which JDK are you using ? Which classes fail ? You can not run 1.2 in your browser without plugin... If 1.1.x is used, be sure you make your 3d classes known to the browser (either by putting everything in a jar file ready for download or copying in the appropriate Netscape dir). Oliver ___ S.E.S.A. Software und Systeme AG [EMAIL PROTECTED] Dept. Stuttgart http://www.sesa.de Oliver Fels Tel. +49-711-139935-596Mittlerer Pfad 2 Fax. +49-711-139935-510D-70499 Stuttgart ___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: java 3d and browser
Oliver Fels wrote: > On 25 Jan 00, at 18:58, yangyuexiang wrote: > > > > I can run java 3d application on linux. > > > > also, I can run the applet through appletviewer, But I cannot run > > applet in the browser. Who can give me some suggestions? > > The error is --NoClassDefFoundError > > Which JDK are you using ? Which classes fail ? > You can not run 1.2 in your browser without plugin... > If 1.1.x is used, be sure you make your 3d classes known to the > browser (either by putting everything in a jar file ready for download > or copying in the appropriate Netscape dir). > > Oliver > ___ > S.E.S.A. Software und Systeme AG > [EMAIL PROTECTED] Dept. Stuttgart > http://www.sesa.de Oliver Fels > Tel. +49-711-139935-596Mittlerer Pfad 2 > Fax. +49-711-139935-510D-70499 Stuttgart > ___ > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] I use jdk1.2.2. Where can I get the plug-in? When I run applet in netscape. First, I see a message: (1)Applet HelloJava3Da class HelloJava3Da got a security violation method verification. When I reload the applet, the message changed. (2)Applet HelloJava3Da error: Java.lang.NoClassDefFoundError HelloJava3Da Thanks very much! yang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Pipes
[EMAIL PROTECTED] wrote: | Dear List, | Can someone tell me how I can create a pipe file? | | I can reading and write to a file that already exists, but I | need to be able to create the file if it does not exist. You achieve this through JNI. -- Jo Uthus| e-mail: [EMAIL PROTECTED] (private) Software Engineer | e-mail: [EMAIL PROTECTED] (work) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: SIGSEGV with JNI_CreateJavaVM
I installed jdk1.2.2RC3 solved the problem but now I get the following message Font specified in font.properties not found [--dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] How can I fix it ? Pierre -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: java 3d and browser
On 25 Jan 00, at 20:20, yangyuexiang wrote: > I use jdk1.2.2. Where can I get the plug-in? I am afraid, there is none for Linux yet. Rumors speak about it being included in jdk1.2.2.rc4 which might be delivered this week. > When I run applet in netscape. > First, I see a message: > (1)Applet HelloJava3Da class HelloJava3Da got a security violation method > verification. Method verification indicates a method in the class file is violating some access restrictions. Might be the consequence that inside HelloJava3D an object is using an API method which has changed since 1.1.x. > When I reload the applet, the message changed. > (2)Applet HelloJava3Da error: Java.lang.NoClassDefFoundError HelloJava3Da Propably blame Netscape Navigator. Though the class could not be loaded because of an exception, Netscape assumes it is already in its cache, tries to reload it from there and fails. Oliver ___ S.E.S.A. Software und Systeme AG [EMAIL PROTECTED] Dept. Stuttgart http://www.sesa.de Oliver Fels Tel. +49-711-139935-596Mittlerer Pfad 2 Fax. +49-711-139935-510D-70499 Stuttgart ___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
IBM making deals: JDK headed for Linux distros
A report today from ZDNet says that IBM has struck deals to include their JDK ports in Linux distros from Red Hat, Caldera, and TurboLinux, with a SuSE announcement expected soon. The JDKs will start appearing in distros next month; it's not clear from the article when IBM's 1.2 (or 1.3, or whatever) will appear. I'd say it's a safe bet that SRPMs will not be provided :-). Details: http://www.zdnet.com/zdnn/stories/news/0,4586,2426221,00.html Nathan Meyers [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: JNI and Dead Thread on Linux
Hi Nathan: Thank you for your information. I downloaded jdk_1.1.7-v3-glibc-x86-native.tar.gz and unpack it from the $JAVA_HOME directory. When I run "java -native app", I got an error message like: "Cannot open /proc/00762 for GC/mnt/e/Linux/java/jni/Sample3/app", and every time when I re-try "java -native app", the number 00762 is changed to another number. Nothing fancy in app. It's only a helloWorld application, and located in /mnt/e/Linux/java/jni/Sample3/ I guess JVM tried to create a native thread since each process (heavyweight or light) has a corresponding directory under /proc dir. BTW, this happened on RH6.1 and I run the app as root. "java app" and "java -green app" work fine. I don't know what GC (before /mnt/e...) is. Thank you. Lee > > Q3: With BlackDown 117_v3, the default behavior should be "green". > I can run a simple java application with "java app" or > "java -green app" without any problem (they are the same,right?). > But got an error msg like "java was not found in > /usr/local/jdk117_v3/bin/../bin/i686/native_threads/java" when > run it with "java -native app". Do I miss something? > > Q4: What compile options I need to specify to pick up the right lib > if I want to run java app with green or native thread? No changes needed with compiling. The reason you can't run native is that you don't have a native version installed in your JDK installation tree. Visit a mirror site and grab jdk_1.1.7-v3-glibc-x86-native.tar.gz: unpack it from the $JAVA_HOME directory and you'll get the native versions. By way of background, the decision on which threading model to use is made in the script ($JAVA_HOME/bin/java) that launches the java executable: it looks at "-green" or "-native" (yes, it defaults to green), sets up the environment, and decides which actual executable (green or native) to run. Nathan > > Thank you. > > Lee > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JNI and Dead Thread on Linux
> Lee Xing writes: Lee> Hi Nathan: Lee> Thank you for your information. Lee> I downloaded jdk_1.1.7-v3-glibc-x86-native.tar.gz and unpack it Lee> from the $JAVA_HOME directory. When I run "java -native app", I Lee> got an error message like: Lee> "Cannot open /proc/00762 for GC/mnt/e/Linux/java/jni/Sample3/app", This problem has been fixed in 1.1.8-v1. Juergen -- Juergen Kreileder, Blackdown Java-Linux Team http://www.blackdown.org/java-linux.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Long pause before java browser finishes loading
(Many apologies if this has been posted twice) Hello, I am using the ARM version of Blackdown's jdk 1.1.7 v3a on a linux 2.2.3 based system. GLIBC is 2.1 and no distribution - the system is hand built. I am trying to use the java based ICEBrowser (version 4 or 5). The browser does work, but it takes 4 to 6 minutes to load. Running the browser in verbose mode shows the classes that are loaded. After the browser reports loading 'java/awt/EventDispatchThread.class' is when the long pause occurs. During this pause, the CPU utilization approaches 100%. Attaching strace to the process shows that poll() is being called on the standard fd's, class and jar file fd's, and one UNIX socket. Eventually, whatever is running finishes/times out and the browser continues loading classes with 'sun/awt/motif/InputThread.class' and a bunch more. So, I'm looking for any ideas on what might be happening during the pause. Perhaps there is a service or something that it's looking for that I don't have on my system? Or maybe some kind of thread issue? Thanks, Eric Multanen [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: IBM making deals: JDK headed for Linux distros
Calvin Austin wrote: > > As far as I can tell its JDK 1.1.8 (one report mention that it was > originally beta last summer) and the distros in questions were > new professional/enterprises CDs, ie $149-$199 and upwards. This may mean > that you would not be able to download them from free which would be > similiar to DB2 which I believe is only available if you pay redhat. > Don't know if anyone can confirm or deny that :*) > > If it was 1.1.8 it would be ironic as IBM also claimed a new volano > record using 1.2.2 on AIX, so are they suggesting that Linux users should > put up with 1.1.x technology while their AIX accounts should use 1.2.2? > Who knows? Their earlier announced schedule (separate context from this story) has them shipping JDK1.3 for Linux in the second quarter. All it suggests to me is that they're smart enough to concentrate on their core business first. Nathan > > regards > calvin > > > Resent-Date: Tue, 25 Jan 2000 07:51:39 -0700 (MST) > > Date: Tue, 25 Jan 2000 06:50:59 -0800 > > From: Nathan Meyers <[EMAIL PROTECTED]> > > X-Accept-Language: en-US > > MIME-Version: 1.0 > > To: [EMAIL PROTECTED] > > Subject: IBM making deals: JDK headed for Linux distros > > Content-Transfer-Encoding: 7bit > > Resent-Message-ID: <[EMAIL PROTECTED]> > > Resent-From: [EMAIL PROTECTED] > > X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/2568 > > X-Loop: [EMAIL PROTECTED] > > Resent-Sender: [EMAIL PROTECTED] > > > > A report today from ZDNet says that IBM has struck deals to include > > their JDK ports in Linux distros from Red Hat, Caldera, and TurboLinux, > > with a SuSE announcement expected soon. > > > > The JDKs will start appearing in distros next month; it's not clear from > > the article when IBM's 1.2 (or 1.3, or whatever) will appear. I'd say > > it's a safe bet that SRPMs will not be provided :-). > > > > > > Details: http://www.zdnet.com/zdnn/stories/news/0,4586,2426221,00.html > > > > > > Nathan Meyers > > [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]
Red Hat, Caldera, TurboLinux to bundle IBM JDK!
(I posted this yesterday, didn't come through). Wow, this is huge news http://dailynews.yahoo.com/h/zd/2124/tc/2125062.html Here's the meat of it. This is amazing. Sun's really missed the boat with Java on Linux, and IBM has neatly hopped on it. -- On Dec. 7, 1999, Sun announced plans to ship Java 2 Platform, Standard Edition for Linux in the first quarter. On Monday, IBM beat Sun to the punch with deals bringing Java to Caldera Systems, Red Hat and TurboLinux's Linux operating systems. Under these agreements, each of the three companies will license and distribute IBM's Java Runtime engine, Java Virtual Machine (JVM), and the IBM Developer Kit for Linux, Java Technology Edition. All the companies intend on shipping product by mid-February. IBM launched Java as a public beta in June of last year. ... The wheeling and dealing isn't done yet. Sources close to IBM say IBM is likely to sign a Java deal with SuSE, the last of the four major Linux server distributors, shortly. [EMAIL PROTECTED] . . . .. . . . http://www.media.mit.edu/~nelson/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: AttachCurrentThread()
Jeff Galyan wrote: > > Hi, Mark, > > First, you might want to check out Sheng Liang's excellent book on JNI, > titled "The Java Native Interface". Also, Nathan Meyers' book, "Java > Programming on Linux" is an excellent resource for Linux-specific Java > programming questions, and (I think) includes a chapter or two covering > JNI and Linux-specific gotchas. You won't find anything about four-thread limits in my book :-). This sounds pretty weird - you might try hitting Ctrl-\ in the terminal running the JVM: this'll give you a dump you can examine for monitor contention. Nathan > > Between the two of those, you should have just about all your JNI > questions covered! :) > > --Jeff > > Mark Delafranier wrote: > > > > Java Linux Buffs: > > > > I have a mutli-threaded application using pthreads, RedHat 6.1, gcc 2.91.66, > > libc 2.1.2. This is a standard RedHat 6.1 install with no patches or upgrades. > > > > I have searched through the www.blackdown.org faqs on using JNI and I did not > > find anything helpfull for this problem. > > > > I application spawns various threads to deal with client requests, like a web > > server would spawn threads to deal with http requests. The main process > > performs the JNI_CreateJavaVM() which succeeds. > > > > When a thread is started it issues an AttachCurrentThread and then proceeds with > > its work. I am finding that this method succeeds for 4 threads and then blocks > > for other threads. > > > > Its like AttachCurrentThread is hanging or blocked on mutex of some sort. The > > same code works under Solaris and NT. > > > > Is there a limit to the number of threads that can be attached to the VM? > > > > BTW: I believe I have everything setup so that the vm properly uses > > native_threads. > > > > Any suggestions? > > > > Thanks > > Mark DeLaFranier. > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- > Jeff Galyan > http://www.anamorphic.com > http://www.sun.com > jeffrey dot galyan at sun dot com > talisman at anamorphic dot com > Sun Certified Java(TM) Programmer > == > Linus Torvalds on Microsoft and software development: > "... if it's a hobby for me and a job for you, why are you doing such a > shoddy job of it?" > > The views expressed herein do not necessarily reflect those of my > employer. > > Sun Microsystems, Inc., has no connection to my involvement with the > Mozilla Organization. > > -- > 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: HELP: jdk122rc2 swing stuff doesn't work
I've got the Swing examples working, simply by switching to 16bpp. Such a simple solution... Alistair. - Original Message - From: Peter Jahn <[EMAIL PROTECTED]> To: Alistair Bayley <[EMAIL PROTECTED]> Cc: Calvin Austin <[EMAIL PROTECTED]>; Nathan Meyers <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, January 24, 2000 9:46 PM Subject: Re: HELP: jdk122rc2 swing stuff doesn't work > Ok, now at last I finally remember what _my_ problem was. Before I > installed the JDK, I had just reinstalled Linux (Suse 6.3) from scratch, > doing the install in German. At least I assumed it was only the > installation proper. Instead, that also gave users a LANG=de entry in > their environment, and _that_ caused the swing apps to fail. I can even > reproduce it now, >pj@pulsar:/opt/jdk/demo/jfc/SwingSet > (export LANG=de; java -jar > SwingSet.jar) > still causes a crash. > > This wouldn't happen for root, 'cause the variable is only put in normal > users' environments... > > Regards, > > Peter > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
What are the rules for adding one components to another?
Hi, If I try to add JFrame component to the Frame component like Frame.add(JFrame); I get the error message "you cannot add window to a container". Now the question arises, which component I always can add to which? Speaking about such containers like: Panel JPanel Frame JFrame WindowJWindow CanvasJComponent what are the rules which govern the "addability" of those components? Can I have in my program the following statements: Container.add(Container) JWindow.add(Frame) Panel.add(Jpanel) Jpanel.add(Panel), ... Canvas3D.add(JFrame) and so on with many possible combinations. There are Swing components, AWT components, Java2D components, Java3D components, JAI, JMF components, etc. How to navigate which could be added to which? What are the rules? Thank you, Jacob Nikom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Red Hat, Caldera, TurboLinux to bundle IBM JDK!
That is beautiful! Especially because IBM's JDK-s have the reputation to be very fast. -kornel - Original Message - From: "Nelson Minar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 25, 2000 11:59 AM Subject: Red Hat, Caldera, TurboLinux to bundle IBM JDK! > (I posted this yesterday, didn't come through). > > Wow, this is huge news > http://dailynews.yahoo.com/h/zd/2124/tc/2125062.html > > Here's the meat of it. This is amazing. Sun's really missed the boat > with Java on Linux, and IBM has neatly hopped on it. > > -- > > On Dec. 7, 1999, Sun announced plans to ship Java 2 Platform, Standard > Edition for Linux in the first quarter. On Monday, IBM beat Sun to the > punch with deals bringing Java to Caldera Systems, Red Hat and > TurboLinux's Linux operating systems. > > Under these agreements, each of the three companies will license and > distribute IBM's Java Runtime engine, Java Virtual Machine (JVM), and > the IBM Developer Kit for Linux, Java Technology Edition. > > All the companies intend on shipping product by mid-February. IBM > launched Java as a public beta in June of last year. > > ... > > The wheeling and dealing isn't done yet. Sources close to IBM say IBM > is likely to sign a Java deal with SuSE, the last of the four major > Linux server distributors, shortly. > > [EMAIL PROTECTED] > . . . .. . . . http://www.media.mit.edu/~nelson/ > > > -- > 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]
