Re: getImage returns NullPointerExeption
> in my Applet i am loading several gifs, with getImage. Some gifs are > loaded but others not I get a NullPointerException instead. The gifs are > definitively existing. Sounds to me like the old problem with asynchronous loading mechanisms. If one starts loading images, an asyncronous process is started and getImage(...) immediately returns. Accessing the image structure often results in a NullPointerException, as the loading process has not finished yet. Using a Meditracker for those pursposes should solve those problems. Oliver ___ Oliver Fels| e-mail: Neurotec Hochtechnologie GmbH | [EMAIL PROTECTED] Team Manager JAVA-/IT-Security | Friedrichshafen, Germany | --- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JSDK 2.0?
> Will the JSDK be included in the first non-pre release? Get the jsdk for Windows, extract the archive and put jsdk.jar in your classpath or bootpath. If you can live without the servletrunner app, this is a perfect solution, at least for most people. Oliver -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
graphical performance of java1.2
Hello, first of all congratulations to the blackdown team for their efforts on jdkpre1.2. There ist a signicant performance boost on vector and string issues. But the graphical performance is _very_ poor in comparison to jdk1.1.7+swing or jdk1.2 for windows (have a look at the Java2Demo for example). Surely I know we are in the pre1.2 stage. So is there any hope that also graphics speed up in future? Is this perhaps a thread issue ? BTW, I'm using debian 2.1 and kernel 2.2.3. Christian Blug e-mail: [EMAIL PROTECTED] Lehrstuhl fuer EnergieversorgungTel : 49-681-302-2919 Universitaet des Saarlandes Fax : 49-681-302-4699 66123 Saarbruecken Deutschland WWW Home Page : http://www.uni-sb.de/~et11hkcb/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
glibc
Hello there, I have been unsuccessfully trying to get both jdk1.1.7 and 1.2 working. on my Red hat linux. this is what ls -l /lib/libc.so.* says lrwxrwxrwx 1 root root 13 Nov 25 21:54 /lib/libc.so.6 -> libc-2.0.5.so and uname -a.. Linux localhost.localdomain 2.0.31 #1 Sun Nov 9 21:45:23 EST 1997 i686 unknown I get segmentation faults when I execute both the 1.2 and 1.1.7 javac. also on 1.17 it says this before the segv ls: not: No such file or directory I suppose I have the problem with old versions of glibc mentioned in the README? My question is, what do I do now. the README says to get the 2.0.7.-7 version from redhat but version of what? and what do I do with it? thanks for any help, Ian Davies. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
JSDK 2.0?
Ken Pratt writes: > Will the JSDK be included in the first non-pre release? Servlet development kit? If it's not part of the standard Java 2 platform you get from Sun for Solaris, we don't include it. > Thanks for all your work! You have freed many of us Java developers out > here to replace MS Windows with Linux on our desktops at work. Yay! Always happy to help Linux in the world domination quest :-) Steve -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
jdk1.2-jar problem....
hello, don't seem to get help about this in the news i just upgraded my jdk to the linux-jdk1.2-pre1 and now jar doen't work anymore ... all i get is: jar -cvf jTrader.jar jTrader Can't determine application home what's going wrong here??? ciao bboett == acount at earthling net http://erm6.u-strasbg.fr/~bboett === Unsolicited commercial email is NOT welcome at this email address To contact me replace acount by bboett in above addresses -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JSDK 2.0?
Oliver Fels wrote: > > > Will the JSDK be included in the first non-pre release? > > Get the jsdk for Windows, extract the archive and put jsdk.jar in > your classpath or bootpath. > > If you can live without the servletrunner app, this is a perfect > solution, at least for most people. > The latest developer JDSK 2.1 includes the servletrunner app as a java program which runs just fine under Linux. This version is also particulary nice in that it serves files as well, to make it a mini web server. See the Java Developer Connection http://www.javasoft.com/jdc Joe -- Joe Carter Software Engineer Brite Voice Systems Ltd, Gatley, Cheshire. UK. mailto:[EMAIL PROTECTED] http://freespace.virgin.net/joe.carter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java3D for Linux?
Gord Peters writes: > > I had read somewhere when JDK1.2pre v1 was released that Java3D was very > close and would likely be released in a couple of weeks. Does anyone know > what the status on this is? I'm working on a really cool 3D app that I'd > love to see running on my Linux box. Sorry -- mea culpa. I've had a series of crises to deal with that hasn't allowed me time to get this to a shippable state. Perhaps if I get some cycles this weekend... Steve -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Problem with MetalLookAndFeel
With JDK1.2 - when trying to run JFC - Apps - I got the following error message: /java/demo/jfc/Notepad > java Notepad uncaught exception: java.lang.Error: can't load javax.swing.plaf.metal.MetalLookAndFeel java.lang.Error: can't load javax.swing.plaf.metal.MetalLookAndFeel at javax.swing.UIManager.initializeDefaultLAF(Compiled Code) at javax.swing.UIManager.initialize(Compiled Code) at javax.swing.UIManager.maybeInitialize(Compiled Code) at javax.swing.UIManager.getUI(Compiled Code) at javax.swing.JPanel.updateUI(Compiled Code) at javax.swing.JPanel.(Compiled Code) at javax.swing.JPanel.(Compiled Code) at javax.swing.JRootPane.createGlassPane(Compiled Code) at javax.swing.JRootPane.(Compiled Code) at javax.swing.JFrame.createRootPane(Compiled Code) at javax.swing.JFrame.frameInit(Compiled Code) at javax.swing.JFrame.(Compiled Code) at Notepad.main(Compiled Code) At blackdown and in this List I haven´t found already a solution. With normal apps jdk1.2 works as well as 1.1. Though, I want to thank the porting team very much for the possibility to code a cool language on a even cooler platform. willi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Problem with MetalLookAndFeel
With JDK1.2 - when trying to run JFC - Apps - I got the following error message: /java/demo/jfc/Notepad > java Notepad uncaught exception: java.lang.Error: can't load javax.swing.plaf.metal.MetalLookAndFeel java.lang.Error: can't load javax.swing.plaf.metal.MetalLookAndFeel at javax.swing.UIManager.initializeDefaultLAF(Compiled Code) at javax.swing.UIManager.initialize(Compiled Code) at javax.swing.UIManager.maybeInitialize(Compiled Code) at javax.swing.UIManager.getUI(Compiled Code) at javax.swing.JPanel.updateUI(Compiled Code) at javax.swing.JPanel.(Compiled Code) at javax.swing.JPanel.(Compiled Code) at javax.swing.JRootPane.createGlassPane(Compiled Code) at javax.swing.JRootPane.(Compiled Code) at javax.swing.JFrame.createRootPane(Compiled Code) at javax.swing.JFrame.frameInit(Compiled Code) at javax.swing.JFrame.(Compiled Code) at Notepad.main(Compiled Code) At blackdown and in this List I haven´t found already a solution. With normal apps jdk1.2 works as well as 1.1. Though, I want to thank the porting team very much for the possibility to code a cool language on a even cooler platform. willi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JSDK 2.0?
I think this has been said before but one more time won't hurt(:->), the JSDK is a 100% pure Java implementation and therefore the JSDK 1.x from Sun can be used in *any* JDK 1.1.x \Java2 implementation including the Blackdown's port. Cheers Chris Ken Pratt wrote: Will the JSDK be included in the first non-pre release? Thanks for all your work! You have freed many of us Java developers out here to replace MS Windows with Linux on our desktops at work. Again, Thanks. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: anyone got jar working with jdk1.2???
> hello, > > am i the only one to have problems with the jar prog of the jdk1.2-prev1 > version??? > > each time i try to packege something i get the message: Can't determine > application home Works fine for me on RH5.2. Nathan - This message was sent using Endymion MailMan. http://www.endymion.com/products/mailman/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
anyone got jar working with jdk1.2???
hello, am i the only one to have problems with the jar prog of the jdk1.2-prev1 version??? each time i try to packege something i get the message: Can't determine application home ciao bboett == acount at earthling net http://erm6.u-strasbg.fr/~bboett === Unsolicited commercial email is NOT welcome at this email address To contact me replace acount by bboett in above addresses -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
8 bit input
I am trying to type APL characters in a text component. Having editted the font.properties file to use my font, the characters ( at positions >127 ) display correctly, but I don't know how to generate them from the keyboard. I would like, for example, +a to produce the character at 0xc1 ( alpha ). I have tried using the AWTapp.translations resource as follows: AWTapp*translations: #override \ : Mod1 a: string(0xc1) "string", however, is not a valid action. Is there an appropriate action for this? Is there a list of the actions table? I have also tried writing SillyKeyAdapter.java: import java.awt.event.*; class SillyKeyAdapter extends KeyAdapter { public void keyPressed(KeyEvent e) { int cod = e.getKeyCode(); int mod = e.getModifiers(); if (( cod == KeyEvent.VK_A ) && ( (0<(mod&InputEvent.ALT_MASK)) ||(0<(mod&InputEvent.META_MASK { //e.setKeyChar((char) 0x0062); // (*) e.setKeyChar((char) 0x00c1);// (**) e.setModifiers(0); } } } with Silly.java: import java.awt.*; class Silly { public static void main( String args[] ) { Frame F = new Frame("Hmm"); TextField TF = new TextField("\xccav\xc9'\xc1'"); TF.setFont(new Font("Monospaced",Font.PLAIN,20)); TF.addKeyListener(new SillyKeyAdapter()); F.add(TF); F.pack(); F.show(); } } Using line (*), +a gives me b, but using line (**), I get a segmentation violation. I am running: Debian Linux v1.2 ( Linux 2.0.2.7 ) jdk1.1.6 libc.so.5.4.46 ldconfig: version 1.8.12 XFree86: version number:11.0 vendor string:The XFree86 Project, Inc vendor release number:3200 Thank-you for any advice that you might have. Sincerely, James Rhyness [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: anyone got jar working with jdk1.2???
On Wed, 17 Mar 1999 [EMAIL PROTECTED] wrote: > > hello, > > > > am i the only one to have problems with the jar prog of the jdk1.2-prev1 > > version??? > > > > each time i try to packege something i get the message: Can't determine > > application home > > Works fine for me on RH5.2. Same here. In fact, for me it's working better than the Win32 version! Actually, apart from some font problems, it's working smoothly. I'm about to test the networking side of things, as I was having some real problems with networking under Win32. Peter -- Peter T Mount [EMAIL PROTECTED] Main Homepage: http://www.retep.org.uk PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres Java PDF Generator: http://www.retep.org.uk/pdf -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: anyone got jar working with jdk1.2???
Peter T Mount writes: > On Wed, 17 Mar 1999 [EMAIL PROTECTED] wrote: > > > > hello, > > > > > > am i the only one to have problems with the jar prog of the jdk1.2-prev1 > > > version??? > > > > > > each time i try to packege something i get the message: Can't determine > > > application home > > > > Works fine for me on RH5.2. > > Same here. In fact, for me it's working better than the Win32 version! > > Actually, apart from some font problems, it's working smoothly. I'm about > to test the networking side of things, as I was having some real problems > with networking under Win32. I would hope that this works better for you as well. I've gotten another patch from Alan Cox for the 2.0.37 kernel which fixes yet another of the multicast bugs, and I've just reported to him what looks like the last of the multicast bugs that the JCK is finding, so hopefully this will be fixed soon. It may require you to upgrade your kernel to 2.0.37ac9 or beyond to get the fixes -- the simple answer is to try to not use INADDR_ANY for the IP address of the multicast device, as that's pretty broken. I think that most of the rest of the network support is working properly (although I think I saw someone reporting a crash (not just a hang) with ServerSocket.accept()). Let us know if you have any other network related problems. Steve -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
[q]JavaSpaces [multicast], Linux2.2.3 and JDK1.2pre1
Hello, Has anyone out there got this to work? (RedHat 5.2) RMID, reggie, txn_manager, and Spaces all start no problem. Yet the browser can't see the Space. The identical scripts (+DOS'isms) work on my 95 box. BTW, when I ping 224.0.0.1 under Linux I get back lots of DUP'd packets. On Solaris I don't get this behavior. Does anyone know if the multicast stuff in 2.2.3 is fine? Thanks! -- --- If DOS means "Denial Of Service" what's MS-DOS? And why should I tell it to "win"? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Problem running Jikes on Linux with JDK1.2
Hi, I installed jikes version .47 on my linux box running RedHat 5.2. I also installed jdk1.2 from Blackdown. When I tried to compile a program I get the following error message from jikes: "zip file is invalid or content a comment, please re-zip without comments". After a few minutes of debugging if found out that the error was caused by the rt.jar. I think that the problem is related to jikes since I can compile my program using javac from the JDK. Any help would be appreciated. -- -- Jean-Pierre Dubé Infocom enr. Developpement de logiciel Software development -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Downloading JDK
What am I doing wrong? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Apache JServ and Linux JDK 1.2
Derek, I've been able to run Apache-JServ 1.0b3 with JDK1.2-pre1 on RedHat 5.2/2.2.2, manual startup. Be sure to tweak your startup scripts to use java -green -Djava.compiler= instead of plain old java, though I don't think that's your problem. Don't know if this helps... Wes Derek Glidden wrote: > Has anyone had success (or even tried) running Apache-JServ 1.0b3/Apache > 1.3.4 with the Blackdown JDK 1.2 beta release? All I've been able to do > is get the JDK to report a segmentation violation and chew up all my CPU > until I kill it with extreme prejudice. I've been able to use the JDK > 1.2 succesfully with other things, even some fairly complicated stuff, > so it seems to be at least functional. This is a (mostly) RedHat 5.2 > box with Linux kernel 2.2.3. I'm starting up the Apache-JServ manually > rather than letting Apache start it automatically. > > And incidentally, I've seen the JDK give me "org.apache.jserv.JServ > class not found" type errors if I did not have the jsdk.jar in my > CLASSPATH. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]