Re: Swing Problems
[EMAIL PROTECTED] wrote: > Are the swing classes supported in the blackdown port of the 1.2 JDK? I can > write, compile and execute code properly if I don't use swing but anything > that uses swing bombs with and a class not found error. This includes the > demo's that came with the installation. Do I need to set a classpath > specific for swing or do I need to download another package? TIA Yes they Swing / JFC is integral core api for JDK 1.2. You may have older source code. Check import lines in your Swing source code files If it says `import com.sun.java.swing.*' then it is wrong, because that is old package name for Swing 1.0.2 You need to change the line to `import javax.swing.*' for latest Swing 1.1 on beyond. It would help if posted the entire stack trace/thread dump. (It could be an AWT failure or X Server problem for example.) --- PeterOFF SITE: 0171-54-78780 mailto:[EMAIL PROTECTED] (Deutsche Bank UK) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Class not found
With JDK 1.2, you don't need to specify the classpath when you run an app. That might be your probelm. Christian Posse wrote: > > Hi, > > sorry for maybe asking an obvious question. I have seen that problem > posted in > the past but I can't find the answer to it. > > I just upgraded to jdk 1.2pre_v2 (glibc 2.1) from 1.1.7_v3. > I have RH 6.0. What worked before under 1.1.7 v3 does not work any > more. > (The problem is not Kaffee, I did not install it). > > set MYCLASSPATH= .: > java -classpath $MYCLASSPATH com.dir1.dir2.MyApp > > Exception in thread "main" java.lang.NoClassDefFoundError: > com/dir1/dir2/MyApp > > any clue would be greatly appreciated. Thanks in advance. > Christian > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- +---+ + Thomas M. Sasala, Electrical Engineer [EMAIL PROTECTED] + + MRJ Technology Solutionshttp://www.mrj.com + + 10461 White Granite Drive, Suite 102(W)(703)277-1714 + + Oakton, VA 22124 (F)(703)277-1702 + +---+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Swing Problems
Linux JDK 1.2 is the same as all other JDK 1.2's. It wouldn't be called Java if it wasn't. Robert Mullen wrote: > > Are the swing classes supported in the blackdown port of the 1.2 JDK? I can > write, compile and execute code properly if I don't use swing but anything > that uses swing bombs with and a class not found error. This includes the > demo's that came with the installation. Do I need to set a classpath > specific for swing or do I need to download another package? TIA > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- +---+ + Thomas M. Sasala, Electrical Engineer [EMAIL PROTECTED] + + MRJ Technology Solutionshttp://www.mrj.com + + 10461 White Granite Drive, Suite 102(W)(703)277-1714 + + Oakton, VA 22124 (F)(703)277-1702 + +---+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
JDK 1.2 Problem. Newbie needs help.
Dear Friends, I am having trouble to make JDK1.2 Pre V2 working on my Red Hat 6.0. Anytime, I tried to use anything from the package, like java, javac or appletviewer, I will get a panic error message. The message is following. I don't know what is wrong? Do I need more memory installed? FYI, I have PII266 with 64M memory, about 130M swap. Please help me. I need to the JDK to do something. Thanks. Liguo (Leo) Here is the error message when I try to run java: ** [Liguo@A117128 Liguo]$ java *** panic: GC: getStickySystemClass failed: java/lang/ref/Reference CLASSPATH may be incorrect SIGABRT 6* abort (generated by abort(3) routine) stackpointer=0xb490 Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v2, native threads): "main" (TID:0x404c81e0, sys_thread_t:0x804bf38, 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" (0x804bf38) 1 entry Thread queue lock: owner "main" (0x804bf38) 1 entry Dynamic loading lock: Monitor registry: owner "main" (0x804bf38) 1 entry -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
JDK1.2-prev2 Segmentation Violation
Any ideas why I get a seg fault? I'm on RedHat5.2 with all the correct libraries (as far as I can tell) Console based programs seem to work fine. Swing & AWT programs seg-fault. Any ideas? The error I get is: SIGSEGV 11* segmentation violation stackpointer=0x41812b80 <+lots of thread debugging code> (Note: I also get a set-fault on a RedHat 6.0 system) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Class not found
CLASSPATH is assumed to be "." unless another CLASSPATH is given; even then, classes/jars in the Extensions directory are automatically present. Ted Neward Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here http://www.javageeks.com/~tneward "I don't even speak for myself; my wife won't let me." --Me -Original Message- From: Thomas M. Sasala <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Wednesday, September 15, 1999 6:10 AM Subject: Re: Class not found > > With JDK 1.2, you don't need to specify the classpath >when you run an app. That might be your probelm. > > >Christian Posse wrote: >> >> Hi, >> >> sorry for maybe asking an obvious question. I have seen that problem >> posted in >> the past but I can't find the answer to it. >> >> I just upgraded to jdk 1.2pre_v2 (glibc 2.1) from 1.1.7_v3. >> I have RH 6.0. What worked before under 1.1.7 v3 does not work any >> more. >> (The problem is not Kaffee, I did not install it). >> >> set MYCLASSPATH= .: >> java -classpath $MYCLASSPATH com.dir1.dir2.MyApp >> >> Exception in thread "main" java.lang.NoClassDefFoundError: >> com/dir1/dir2/MyApp >> >> any clue would be greatly appreciated. Thanks in advance. >> Christian >> >> -- >> To UNSUBSCRIBE, email to [EMAIL PROTECTED] >> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >-- >+---+ >+ Thomas M. Sasala, Electrical Engineer [EMAIL PROTECTED] + >+ MRJ Technology Solutionshttp://www.mrj.com + >+ 10461 White Granite Drive, Suite 102(W)(703)277-1714 + >+ Oakton, VA 22124 (F)(703)277-1702 + >+---+ > > >-- >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 dsp...
High; Can anyone direct me to sources of DSP routines written in Java? I want to be able to perform operations on sound files such as e.q. and granulation. Thanks; Jair-Rohm __ Get Your Private, Free Email at http://www.hotmail.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK 1.2 Problem. Newbie needs help.
Am I correct in saying that its dying due to native threads? Should he pull a "THREADS_FLAG=green" in his shell to correct this? Liguo Song wrote: > > Dear Friends, > > I am having trouble to make JDK1.2 Pre V2 working on my Red Hat 6.0. > > Anytime, I tried to use anything from the package, like java, javac or appletviewer, >I will get a > panic error message. The message is following. > > I don't know what is wrong? Do I need more memory installed? > > FYI, I have PII266 with 64M memory, about 130M swap. > > Please help me. I need to the JDK to do something. > > Thanks. > > Liguo (Leo) > > Here is the error message when I try to run java: > >** > > [Liguo@A117128 Liguo]$ java > > *** panic: GC: getStickySystemClass failed: java/lang/ref/Reference > CLASSPATH may be incorrect > SIGABRT 6* abort (generated by abort(3) routine) > stackpointer=0xb490 > > Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v2, native threads): > "main" (TID:0x404c81e0, sys_thread_t:0x804bf38, 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" (0x804bf38) 1 entry > Thread queue lock: owner "main" (0x804bf38) 1 entry > Dynamic loading lock: > Monitor registry: owner "main" (0x804bf38) 1 entry > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- [ Riyad Kalla ] [ University of Arizona ] [ CS Major] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: java dsp...
There is a book called 'Java Digital Signal Processing' by Lyon and Rao. It may contain something you need. Published by M&T books in 1998. ISBN 1-55851-568-2. Hope this helps. Sheng-Yih. Jair-Rohm Wells wrote: > High; > > Can anyone direct me to sources of DSP routines written in Java? I want to > be able to perform operations on sound files such as e.q. and granulation. > > Thanks; > > Jair-Rohm > > __ > Get Your Private, Free Email at http://www.hotmail.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Note to mswansom [OT]
My thanks to mswanson for recent mail about my Java profiler. And a request... Unless you're really trying to remain mysterious and anonymous, could you change your mailer to supply a real return address and not "[EMAIL PROTECTED]"? Or supply an address in your signature? One-way mail isn't very sporting. Nathan Meyers [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: jre and native thread
I think your linux box doesn't have memory enough. You should close others applications and try again. (ups! that's sound like Windows). I'm not sure. Please, tell me if I'm wrong. Greetings Carlos Pierre Legay wrote: > Hello, > when I execute a very simple program ( jre Hello.class) with the > THREADS_FLAG=native > I have the message: > SIGSEGV11* segmentation violation > full thread dump: > Monitor Cache Dump: > registered monitor dump: > > What is the solution ? > > -- > 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]
Error loading libjava.so
I'm running the latest stable deb package of java, or trying too. I get this error when running 'java'. $ java uci.uml.Main /usr/lib/jdk1.1/bin/../bin/i586/green_threads/java: error in loading shared libraries: /usr/lib/jdk1.1/bin/../lib/i586/green_threads/libjava.so: undefined symbol: _dl_symbol_value Any help would be appreciated, thankyou. Oliver White. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: jre and native thread
At 19:24 9/15/99 -0600, Carlos Alberto Román Zamitiz wrote: >I think your linux box doesn't have memory enough. >You should close others applications and try again. >(ups! that's sound like Windows). yeah, that would be windows ... >I'm not sure. Please, tell me if I'm wrong. I very much suspect so... At 08:30 9/14/99 +0200, Pierre Legay wrote: >Hello, >when I execute a very simple program ( jre Hello.class) with the I'll assume that you meant: jre Hello >THREADS_FLAG=native >I have the message: >SIGSEGV11* segmentation violation >full thread dump: >Monitor Cache Dump: >registered monitor dump: > >What is the solution ? double check that: you have the native package as well as the standard package. you have the correct binaries for the library version in your distro. both of these are documented: on www.blackdown.org at ftp.your.fav.mirror in the readme failing those, try: java Hello failing that, tell us: (ripped off of www.balckdown.org) What Linux distribution (with version) you have (RedHat 5.0, Debian 1.3.1, etc.) Which version of the JDK you downloaded (including the "v" number, i.e. 1.1.5v7 or whatever) Which architecture you downloaded (libc, glibc, powerpc, sparc, etc.) cabbey at home dot net <*> http://members.home.net/cabbey I want a binary interface to the brain! Today's opto-mechanical digital interfaces are just too slow! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Error loading libjava.so
does no one read readmes any more?
You're running the glibc2.0 ("libc5") jdk binaries on a glibc2.1
("glibc") based system. Please obtain the current 1.1 (117v3) jdk from:
http://www.blackdown.org/java-linux/mirrors.html
cabbey at home dot net <*> http://members.home.net/cabbey
I want a binary interface to the brain!
Today's opto-mechanical digital interfaces are just too slow!
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Swing Problems
Make sure you're using correct package naming in your Swing apps; i.e., javax.swing NOT com.sun.java.swing. --Jeff Robert Mullen wrote: > > Are the swing classes supported in the blackdown port of the 1.2 JDK? I can > write, compile and execute code properly if I don't use swing but anything > that uses swing bombs with and a class not found error. This includes the > demo's that came with the installation. Do I need to set a classpath > specific for swing or do I need to download another package? TIA > > -- > 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]
Swing PLAF color properties?
Actually my question is not straing linux/java question, more like general java one but here it goes. I've wrote a listbox cellrenderer which im using in my crossplatform application. This application sets look'n'feel according the OS its running as most of the programs like this does. The problem in in data representation. My listbox uses its own cell renderer. And when i use my own cellrenderer i have to take care of all things happening in that cell, including changing background color of cell if its selected. That is not a problem. The problem is what color to use as a "selected" color and what color to use when its not "selected"? I bet, these color schemes can be obtained from somewhere but at this point, i havent found any suitable classes that store these values. -- - | Name : Jani Mikkonen| | Email: [EMAIL PROTECTED] | | ICQ UIN# : 19840860 | | Homepage : http://www.pcuf.fi/~rasjani | | --- | | 'Save the whales, Feed the hungry and Free the mallocs' | - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
