Re: disappearing windows
Sounds like you might be using -green but not specifying -Djava.compiler= to disable the JIT. This is a known problem. -Peter David Thompson wrote: > > > colleagues, > > When starting my GUI based programs they > flash the window on the screen, then the > window disappears and exits. There is > no error message, the GUI thread just > seems to die. I have made a simple program > (in case the problem is something complex with my > other programs) that just makes a JFrame (500X500) > and sets it to visible. It has the same problem. > When I run it in jdb, when it exits it simply > says that the main thread died, continuing, > then it says something about communications > has stopped. Then I am returned to a normal > command prompt, not in jdb. > > I have spent an hour or so with the archive and have > seen another message similar to this effect with > no reply. It was posted regarding 1.1.6, but I am > using jdk1.2 and RH5.2. > > Help would be appreciated. > > Thank you > respectfully > David R. Thompson > > _ > David R.Thompson > Los Alamos National Laboratory > TSA 5 > wk.ph:505.665.5572 > email: [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] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK 1.1.7v2 Anywhere?
You might try wget. Andrew wrote: > > > http://www.wisp.net/~kreilede > > > > I don't know about anybody else, but whenever i go to donwload it it seems > to crash ie. stop before all the file has been recieved ?? > > why ??? I've tried a number of times ?? Is it available on another site > perhaps ftp ..( i don't trust netscape for large files) ;) > > cya > > adn > > -- > 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: Redhat 6 + JDK117v3 + native threads = unreliable AWT?
Yes. I have a rather large Swing app that runs fine with 1.1.7v3 green threads, but with native threads it comes up but doesn't paint correctly (the main window remains blank, although I can tell from trace output that the paint code is being called and seems to complete without error), and then the app is basically frozen. I no longer have 1.1.7v2 installed, but I seem to remember that it was subject to the same problem. Before I upgraded to glibc 2.1, 1.2 native threads worked fine, and the app also runs correctly under Windows with all known VMs (Sun, IBM, Microsoft). I'm running a Debian potato system with the 2.2.7 kernel. -Peter Ninja wrote: > > For me( CAldera OpenLinux 2.2) v2 native thread > also > does not work in awt/swing especially in swing application. > > > > >JDK 1.1.7v2 works fine! > > > >Also volanomark won't run with v3/native. > > > > -- > 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: [OT] TYA and Redhat 6.0
I got this same warning (on a Debian potato system), but after the dust settled tya works just fine... Paul Oliver wrote: > > Hi, > > Redhat 6 seems to be breaking a lot of things for me. :-( I'm not sure, > but I think it has something to do with the egcs distribution used. > > When I try and compile TYA, I get: > > /usr/local/java/bin/../include/genunix/../green_threads/include/context_md.h:46: > warning: ignoring pragma: unknown_control_flow > > Does egcs not support the same pragmas as gcc? Is anybody else having the > same sorts of problems, or is my install munted? > > Cheers > Puzza. > > -- > 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: Tya1.3v2 compile problem
Try ./configure --with-java=/usr/lib/jdk1.1 Replace "/usr/lib/jdk1.1" with the directory where you have the JDK installed. Roland Carlsson wrote: > > Hi! > I'm trying to compile Tya1.3v2 but get a lot of ugly errors. It all starts with: > > tya.c:7: native.h: No such file or directory > tya.c:8: monitor.h: No such file or directory > In file included from tya.c:14: > tya.h:111 parse error before 'ClassClass' > > and so on and so on > > I'm tried to find out where those files belongs and where to find them but i have >had no success. > Any ideas?? > > Thanks > Roland Carlsson > > -- > 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: Swing on Linux
My experience is quite similar to Armen's. My Swing app is a programmer's editor that I use heavily on both Linux and NT. I too have found Linux JDK 117v3 green threads to be a very nice environment. In my experience, TYA helps significantly, and I've never seen it introduce any instability. Native threads are definitely broken in 117v3; Swing apps are particularly sensitive to this problem. I've occasionally seen odd behavior with native threads in 1.2pre2 also. Font ugliness is still a problem in 1.2pre2, but the worst thing is that it has, overall, a very sluggish feel compared to 117. To achieve the best performance, you may have to deviate occasionally from the straight and narrow path, as far as Swing goes. -Peter Graves http://armedbear.org Armen Yampolsky wrote: > > Nelson, > > We are working on a CORBA-based java client that is pretty weighty in > terms of Swing components -- JSplitPane, bunches of JInternalFrames, > etc., all on the screen at once. Working on Linux using JDK117 v3, no > JIT, it is certainly bearable, IMO. It is slow, Java in general is slow, > unfortunately. But I've tried some alternatives, and have come away > feeling that this is the better. Some of my (possibly subjective) > observations: > > (1) native threads are broken in JDK 117 v3. It's been talked about on > the list, but never addressed. Components will not draw properly, frames > will occassionally come up gray boxes, menus won't show, etc. > > (2) JDK 1.2 pre2 fonts are still ugly. There was some sizing problem > with v1 that is fixed, but the font.properties file does no justice to > running java on linux. I will try to muck around and come up with > something decent, if I do I'll post it. As it stands, it's an eyesore. > Demos to clients would simply be embarassing. > > (3) I tried a current project with JDK1.2 on NT, and found it ran > slower! Weird. I need to look into it, because it's hard to believe > (Symantec jit should be rather good), but it brought the machine to > paging hell. > > So on my little 233 i586, the 117v3 with green threads is the most > bearable and pleasant Swing environment I have found. As for JITs on > linux, I have never seen TYA improve GUI performance to the extent that > I notice it qualitatively. Since I have enough variables to deal with, I > run without it. > > Good luck, > -Armen > > -- > Armen Yampolsky > Axiom Software Laboratories > New York > > > > > Subject: Swing on Linux > > Date: Thu, 10 Jun 1999 19:45:49 -0400 (EDT) > > From: [EMAIL PROTECTED] (Nelson Minar) > > To: [EMAIL PROTECTED] > > I've just started looking at using Swing for my Java project. It seems > > > > really really slow. Is anyone here seriously using Swing under Linux, > > without a JIT? Is there some way to improve things? Do JITs make > > enough difference to make it bearable? > > > > -- > 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 and Enlightenment
The authors of the Enlightenment window manager have some interesting comments today about Java: http://www.enlightenment.org/news.html Their basic point is that "Java under X (AWT) is Broken"; they don't mention which Java implementation they're referring to. I don't think things are all that bad with either version of the Blackdown port (or with the new IBM 1.1.8 implementation either, for that matter), but I have noticed that dialogs (in particular) tend to drift a bit under various window managers, even though there's explicit code in the application to save and restore their position. Both Enlightenment and Windowmaker seem to have this problem, but icewm, last time I checked, did not. Windows VMs don't seem to have this problem at all. -Peter http://armedbear.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JAVA+Enlightenment
You might try moving the window in question to where you want it to be, then saving its position (and possibly and possibly also its size) using Enlightenment's "Remember..." function. This works for me with the current (0.16.0) version of Enlightenment, at least... -Peter http://armedbear.org Renzo Pecoraro wrote: > > Hi - > > Does anybody have a hint as to how to fix this: I am using > RH6.0+Gnome+E, and whenever I startup NetBeans places itself in the top > left corner, but hides its own window titlebar, so that I don't have > access to the iconify buttons, etc. Very annoying! Is there a fix? > > BTW, Sun just acquired NetBeans > http://www.netbeans.com/press/sun-netbeans.html > > Thanks! > Renzo > > -- > 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: Swing with ibm jdk 1.1.8
Try putting swingall.jar in your CLASSPATH, rather than rt.jar. Works for me. -Peter Pere Serra wrote: > > I've downloaded ibm jdk 1.1.8 and it works with text mode programs, but when I > try to run a swing application it doesn't work. I put the file rt.jar in the > classpath then java says Class not found: java.lang.System. > > Does anyone know what am I doing wrong ? > > Thanks a lot > > -- > - > > (, http://www.geocities.com/Hollywood/Set/8660 > > /|__--__ > > |\ '__ > > `.' / `.,_ _ > > / ||``._.' > > .' /|Pere Joan Serra Caldentey > > .'/\ \ > > ` `,/ /`,\ [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: Speed of IBM's Linux JDK
It does feel faster, once it gets going, but it seems like the first time a given piece of code is run, there's a noticeable delay (presumably because the JIT compiler is doing its thing). This occurs, for example, the first time you bring up a dialog box in a Swing app. It also makes application startup significantly slower. But for code the JIT compiler has already seen, it definitely feels faster to me. YMMV. -Peter Peter Schuller wrote: > > Hello! > > Quick question: the IBM JDK has shown *very* impressive benchmark results. > Now, in light of the recently postponed release date for potato (Debian), I'm > wondering if this is just a benchmark thing, or if it really "feels" faster > (such as scrolling in Swing for exmample)? > > I can't decide whether to go to the potential trouble of running an "unstable" > version of Debian, just for the sake of being able to run IBM's JDK. > > Thank you, > > -- > / Peter Schuller > > PGP userID: 0x5584BD98 or 'Peter Schuller <[EMAIL PROTECTED]>' > Key retrival: Send an E-Mail to [EMAIL PROTECTED] > E-Mail: [EMAIL PROTECTED] Web: http://hem.passagen.se/petersch > > -- > 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: NEW JDK RELEASE! "Illegal instruction"
Yes. I get the same Illegal instruction error on a Pentium MMX 233 running Debian potato (refreshed last night), glibc-2.1.2. -Peter Paul Bowman wrote: > > The JDK-1.2.2rc2 release appears to have been built with some native > code > which is dependent on a Pentium II or newer processor. > > The JDK-1.2.2rc2 release runs out of the box on a Pentium II - 266Mhz > processor > using Slackware 7, which is based on glibc-2.1.2. > > Trying the same JDK release on a machine using a Pentium-MMX - 233Mhz > with Slackware > 7, I got the Illegal instruction error. > > -Paul > > Riyad Kalla wrote: > > > > Odd, no mine worked fine right off the bat. It seems a bit faster to me, but > > other than that I can't tell a difference (I don't do the hardcore-coding you all > > do). > > > > Best wishes, > > > > -Riyad > > > > Ekkehard Kraemer wrote: > > > > > Hallo Riyad, > > > > > > RK>New release of JDK 1.2.2! > > > > > > After downloading the 20 MB and installing it (I wonder why it doesn't come as > > > standard .tgz, but never mind), I just get "Illegal instruction" (without any > > > other output) when running java oder appletviewer. I'm running a up-to-date > > > Debian potato system, i.e. the same as was used compiling the JDK. > > > > > > Has anybody on this list had the same problem and fixed it? If so, how? > > > > > > MbG, Ekkehard > > > > > > -- > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > -- > > [ Riyad Kalla ] > > [ [EMAIL PROTECTED] ] > > [ CS - Major ] > > [ University of Arizona ] > > > > -- > > 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: BlackdownJDK1.2.2.RC3 crashes on SMP Kernels
You need at least glibc 2.1.2 for Blackdown 1.2.2 RC3. See the status page: http://www.blackdown.org/java-linux/jdk1.2-status/jdk1.2-status.html It's very stable on my SMP machine (Debian, 2.3.39, glibc 2.1.2). -Peter http://armedbear.org Wolfgang Hoschek wrote: > > I am sure this has been raised before, but just in case... > > BlackdownJDK1.2.2.RC3 crashes on SMP Kernels, in our case 2.2.5-22smp, > glibc-2.1.1-6, RH 6.0 > (Both IBMJDK1.1.8 and SunInproseJDK1.2.2RC1 run fine under SMP and > non-SMP Kernels) > > Any chances this will be addressed some time (or has already been > addressed in some way)? > > Regards, > Wolfgang. > > -- > 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]
RC4
Blackdown 1.2.2 RC4 is up on ftp.tux.org: ftp://ftp.tux.org/java/JDK-1.2.2/i386/rc4 -Peter http://armedbear.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: installation help - error on running java no classes.zip?
Do this:
java HelloWorldApp
instead of this:
java HelloWorldApp.class
If you're using 1.2.2 you don't need a CLASSPATH (at least not for
this).
The runtime classes are in .../jdk1.2.2/jre/lib/rt.jar, not
../classes.zip.
-Peter
http://armedbear.org
clyde jones wrote:
>
> Hi
> I just installed jdk1.2.2 RC4 and I am having trouble running a
> simple program. I can compile the program HelloWorldApp.java, but
> running the program results in the error at the bottom of the page. I
> think I installed according to the directions in the readme, but
> something is wrong. I have set and unset the CLASSPATH environment
> variable, but I cannot find the file classes.zip.
> I am running redhat 6.1 with glibc-2.1.2-11 and kernel-2.2.12-20.
>
> Can someone kindly help me figure out what is wrong?
>
> TIA
> Clyde
>
> Info I think you might need to help me:
>
> PATH=/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/jdk1.2.2/bin:
> JAVA_HOME=/usr/local/jdk1.2.2
>
> ** My little program -HellowWorldApp.java
> * The HelloWorldApp class implements an application that
> * simply displays "Hello World!" to the standard output.
> */
> class HelloWorldApp {
> public static void main(String[] args) {
> System.out.println("Hello World!"); //Display the string.
> }
> }
>
> $ javac -verbose HelloWorldApp.java
> [parsed HelloWorldApp.java in 599 ms]
> [loaded /usr/local/jdk1.2.2/jre/lib/rt.jar(java/lang/Object.class) in 54 ms]
> [checking class HelloWorldApp]
> [loaded /usr/local/jdk1.2.2/jre/lib/rt.jar(java/lang/String.class) in 24 ms]
> [loaded /usr/local/jdk1.2.2/jre/lib/rt.jar(java/io/Serializable.class) in 1 ms]
> [loaded /usr/local/jdk1.2.2/jre/lib/rt.jar(java/lang/Comparable.class) in 1 ms]
> [loaded /usr/local/jdk1.2.2/jre/lib/rt.jar(java/lang/System.class) in 14 ms]
> [loaded /usr/local/jdk1.2.2/jre/lib/rt.jar(java/io/PrintStream.class) in 8 ms]
> [loaded
> /usr/local/jdk1.2.2/jre/lib/rt.jar(java/io/FilterOutputStream.class)
> in 2 ms]
> [loaded /usr/local/jdk1.2.2/jre/lib/rt.jar(java/io/OutputStream.class) in 2 ms]
> [loaded /usr/local/jdk1.2.2/jre/lib/rt.jar(java/io/IOException.class) in 1 ms]
> [loaded /usr/local/jdk1.2.2/jre/lib/rt.jar(java/lang/Exception.class) in 1 ms]
> [loaded /usr/local/jdk1.2.2/jre/lib/rt.jar(java/lang/Throwable.class) in 5 ms]
> [wrote HelloWorldApp.class]
> [done in 1525 ms]
>
> $ java HelloWorldApp.class
> Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp/class
>
> --
> Pray to God, But Hammer Away
> - Spanish Proverb
>Clyde Jones
>
> Clyde Jones
> Http://www.geocities.com/clyde-jones
> mailto:[EMAIL PROTECTED]
> Cell 443.226.6054
>
> __
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> --
> 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: Sun JDK 1.3 & hotspot
Timothy Reaves wrote: > > I do not find documentation on how to enable hotspot. Have I > overlooked it? Hotspot is enabled by default. You can specify the jit you want on the command line: java -hotspot java -server java -classic If you don't specify anything, you get hotspot. Look in .../jre/lib/jvm.cfg. -Peter http://armedbear.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JSplitPane.setDividerLocation(..)
brEezE wrote: > > I have a JSplitPane both contains an JScrollPane on > top and bottom part of the splitpane. > > When try to set the divider's location in v1.2.2 RC4, > nothing seems to be happened. The same code works fine > in v1.3. > > Is this a bug in v1.2.2? > > Thanks! I've got code that does this, that works fine with both Blackdown 1.2.2 RC4 and IBM 1.3 (not to mention Sun 1.3, Sun 1.2.2, Blackdown 1.1.8 and all the versions of Java for Windows that I've tried). So I don't think it's a bug in 1.2.2... -Peter http://armedbear.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: who calls a method
> Hello, > > is there a possibility to find out where a method has been called? > Something like the information given by an exception. > > Thanks, > Rapha Thread.dumpStack() -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
