Re: Argo/UML 0.7 and sun/tools/agent/Agent not found
I had the same problem but i will be able to run Argo with the command: java uci.uml.Main -nosplash !? jmR Juergen Kreileder wrote: > > > Andreas Rueckert writes: > > Andreas> Hi! Kari Kangas has a little JDK 1.2/RH 6/Argo related > Andreas> problem, and I can't find the answer. That's why I > Andreas> forward this mail now to Java-Linux and the Argo list. > > Andreas> His original posting: > Andreas> === > >> %java -jar -debug argoUML.jar > > >> gives me > >> > >> % ... noClassDefFoundException: sun/tools/agent/Agent > >> > >> and window dies (actually it just flashes). > > Try something like > > $ java -jar -Xdebug -Djava.compiler=NONE \ > -Xbootclasspath/a:/usr/local/jdk1.2/lib/tools.jar > argoUML.jar > > Juergen > > -- > Juergen Kreileder, Blackdown Java-Linux Porting Team > http://www.blackdown.org/java-linux.html > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- - Jean-marie Renard --- mailto:[EMAIL PROTECTED] --- http://www.univ-lille2.fr/~renard - - Centre d'Etude et de Recherche en Informatique Medicale - Faculté de médecine - - GNU/Linux http://www.linux.org/ - http://www.aful.org/ - http://www.april.org/ --- Unite for Java! http://www.javalobby.org/ - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
a silly question
hi, i want to load a image into my applet application i used getimage to get a image in the init() and used drawimage to draw it in the paint and i gave the filename in the html file. But it is giving some nullpointer exception in the java console of the netscape. can anybody help me. thanx in advance, MUTHU. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Too old an Applet?
Hi, I've put together an applet that queries a database over a JDBC connection. When I run appletviewer all's well. When I use Netscape 4.5, ok. However, Netscape 4.5 puts a bit too much strain on my system to work flexibly with. Using the 'lighter' Netscape 3.01 (still a staticly linked colossus ;-) I get the strange message: 'Cannot load applet. The zip file's so old it hasn't even got a version to it' Apart from the strange sense of humor used I don't really get the point. NS 3.01 should run this applet. Which zip file? classes.zip is in my $CLASSPATH... I'm using JDK 1.1.6 on TurboLinux 3.0 Appreciate your help. Gr. Eric Free web-based email, anytime, anywhere! ZDNet Mail - http://www.zdnetmail.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
java + X11 memory leak
I noticed something interesting the other day, which I think would qualify as a memory leak. Example: create an java.awt.Image instance... the some/most of the memory for the image is allocated under the X server process, but the VM does not take this memory into account when deciding whether to garbage collect. The result is that if you get rid of references to an Image, the memory under the X server process isn't freed until the Image object is gc'd, which doesn't happen because the VM is under it's threshold to begin garbage collection. The solution, I think, would be to keep track of memory used by XImage's, and count that towards the threshold used to begin garbage-collection. -- -- Rob Clark Dot Wireless, Inc. (858)552-2946 [EMAIL PROTECTED] --
Re: java + X11 memory leak
But is that memory allocated out of the chunk of VM reserved as the HEAP? I doubt it... I don't think it even blongs to the same process does it? Seems to me that it would have to belong to the Xserver's process... in the Xserver's address space and potentially on the Xserver's machine (as in a different machine than the JVM). By the same token if I go into native code by way of JNI and malloc 28Mb of main store, yes it comes out of the process address space that the JVM is running in, but it does not come out of the *heap*. The only thing that GC tracks in terms of memory usage is the amount of it's _reserved_ memory (the current heap) has been _commited_; at least on any JVM I've ever seen the guts of. p.s. [OT] I sure wish people would stop posting this "text/alternate" stuff in public places... can a list serve be set to strip that tripe out I wonder? 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]
JDK 1.2-pre2 on RedHat 5.2
I'm getting the following error when attempting to run javac from the prompt: /usr/local/jdk1.2/bin/i386/native_threads/javac: error in loading shared libraries libhpi.so: cannot open shared object file: No such file or directory I've got jdk1.2 installed in /usr/local, and /usr/local/jdk1.2/bin is on the PATH. Running ldconfig -D (as root) yields the following: ldconfig: version 970402 /usr/i486-linuxaout/lib: libvga.so.1 => libvga.so.1.2.7 libtk.so.3 => libtk.so.3.1.1 libtcl.so.3 => libtcl.so.3.1 libm.so.4 => libm.so.4.6.27 libdb.so.1 => libdb.so.1.85.1 libcurses.so.0 => libcurses.so.0.1.2 libc.so.4 => libc.so.4.7.2 libXt.so.6 => libXt.so.6.0 libXt.so.3 => libXt.so.3.1.0 libXpm.so.4 => libXpm.so.4.2 libXaw.so.6 => libXaw.so.6.0 libXaw.so.3 => libXaw.so.3.1.0 libXIE.so.6 => libXIE.so.6.0 libX11.so.6 => libX11.so.6.0 libX11.so.3 => libX11.so.3.1.0 /usr/X11R6/lib: libXaw3d.so.6 => libXaw3d.so.6.1 libMagick.so.4 => libMagick.so.4.0.10 libXpm.so.4 => libXpm.so.4.10 libXtst.so.6 => libXtst.so.6.1 libXt.so.6 => libXt.so.6.0 libXp.so.6 => libXp.so.6.2 libXmu.so.6 => libXmu.so.6.0 libXi.so.6 => libXi.so.6.0 libXext.so.6 => libXext.so.6.3 libXaw.so.6 => libXaw.so.6.1 libXIE.so.6 => libXIE.so.6.0 libX11.so.6 => libX11.so.6.1 libSM.so.6 => libSM.so.6.0 libPEX5.so.6 => libPEX5.so.6.0 libICE.so.6 => libICE.so.6.3 /usr/lib: libsnmp.so.0 => libsnmp.so.0.3.5.3 libtk8.0.so => libtk8.0.so libtixsam4.1.8.0.so => libtixsam4.1.8.0.so libtix4.1.8.0.so => libtix4.1.8.0.so libtkx8.0.3.so => libtkx8.0.3.so libtclx8.0.3.so => libtclx8.0.3.so libtcl8.0.so => libtcl8.0.so libvgagl.so.1 => libvgagl.so.1.3.0 libvga.so.1 => libvga.so.1.3.0 libslang.so.0 => libslang.so.0.99.38 libreadline.so.3 => libreadline.so.3.0 libhistory.so.3 => libhistory.so.3.0 libpq.so.1 => libpq.so.1.1 libpq++.so.1 => libpq++.so.1 libpgtcl.so.1 => libpgtcl.so.1 libecpg.so.1 => libecpg.so.1.1 libp2c.so.1 => libp2c.so.1.2.0 libnewt.so.0.30 => libnewt.so.0.30 libpanel.so.3.0 => libpanel.so.1.9.9e libncurses.so.3.0 => libncurses.so.1.9.9e libmenu.so.3.0 => libmenu.so.1.9.9e libform.so.3.0 => libform.so.1.9.9e libncp.so.1 => libncp.so.1.0 libungif.so.3 => libungif.so.3.0.0 libtiff.so.3 => libtiff.so.3.4 libstdc++.so.2.8 => libstdc++.so.2.8.0 libpng.so.2 => libpng.so.2.1.0 libjpeg.so.6 => libjpeg.so.6.0.1 libjpeg.so.62 => libjpeg.so.62.0.0 librle.so.1 => librle.so.1.0.0 libppm.so.1 => libppm.so.1.0.0 libpnm.so.1 => libpnm.so.1.0.0 libpgm.so.1 => libpgm.so.1.0.0 libpbm.so.1 => libpbm.so.1.0.0 libfbm.so.1 => libfbm.so.1.0.0 libstdc++.so.2.7.2 => libstdc++.so.2.7.2.8 libg++.so.2.7.2 => libg++.so.2.7.2.8 libgdk_imlib.so.1 => libgdk_imlib.so.1.8.0 libImlib.so.1 => libImlib.so.1.8.0 libguile.so.2 => libguile.so.2.0.0 libgtk.so.1 => libgtk.so.1.0.6 libgdk.so.1 => libgdk.so.1.0.6 libgpm.so.1 => libgpm.so.1.13 libgmp.so.2 => libgmp.so.2.0.2 libglib.so.1 => libglib.so.1.0.6 libgimpui.so.1 => libgimpui.so.1.0.1 libgimp.so.1 => libgimp.so.1.0.1 libgck.so.1 => libgck.so.1.0.0 libgdbm.so.2 => libgdbm.so.2.0.0 libgd.so.1 => libgd.so.1.2 libf2c.so.0 => libf2c.so.0.22 libexpect5.26.so => libexpect5.26.so libcrack.so.2 => libcrack.so.2.7 libBLT.so.2 => libBLT.so.2.4 libopcodes-2.9.1.0.15.so.0 => libopcodes-2.9.1.0.15.so.0.0.0 libbfd-2.9.1.0.15.so.0 => libbfd-2.9.1.0.15.so.0.0.0 libamu.so.1 => libamu.so.1.0.1 libz.so.1 => libz.so.1.1.3 libpanel.so.4 => libpanel.so.4.2 libncurses.so.4 => libncurses.so.4.2 libmenu.so.4 => libmenu.so.4.2 libform.so.4 => libform.so.4.2 /usr/i486-linux-libc5/lib: libvgagl.so.1 => libvgagl.so.1.2.11 libvga.so.1 => libvga.so.1.2.11 libtermcap.so.2 => libtermcap.so.2.0.8 libstdc++.so.27 => libstdc++.so.27.1.4 libpanel.so.3.0 => libpanel.so.1.9.9e libncurses.so.3.0 => libncurses.so.1.9.9e libmenu.so.3.0 => libmenu.so.1.9.9e libm.so.5 => libm.so.5.0.6 libg++.so.27 => libg++.so.27.1.4 libform.so.3.0 => libform.so.1.9.9e libc.so.5 => libc.so.5.3.12 libXtst.so.6 => libXtst.so.6.1 libXt.so.6 => libXt.so.6.0 libXpm.so.4 => libXpm.so.4.9 libXmu.so.6 => libXmu.so.6.0 libXi.so.6 => libXi.so.6.0 libXext.so.6 => libXext.so.6.3 libXaw3d.so.6 => libXaw3d.so.6.1 libXaw.so.6 => libXaw.so.6.1 libXIE.so.6 => libXIE.so.6.0 libX11.so.6 => libX11.so.6.1 libSM.so.6 => libSM.so.6.0 libPEX5.so.6 => libPEX5.so.6.0 libICE.so.6 => libICE.so.6.3 /usr/local/lib: /usr/lib: libsnmp.so.0 => libsnmp.so.0.3.5.3 libtk8.0.so => libtk8.0.so libtixsam4.1.8.0.so => libtixsam4.1.8.0.so libtix4.1.8.0.so => libtix4.1.8.0.so libtkx8.0.3.so => libtkx8.0.3.so libtclx8.0.3.so => libtclx8.0.3.so libtcl8.0.so => libtcl8.0.so libvgagl.so.1 => libvgagl.so.1.3.0 libvga.so.1 => libvga.so.1.3.0 libslang.so.0 => libslang.so.0.99.38 libreadline.so.3 => libreadline.so.3.0 libhistory.so.3 => libhistory.so.3.0 libpq.so.1 => libpq.so.1.1 libpq++.so.1 => libpq++.so.1 libpgtcl.so.1 => libpgtcl.so.1 libecpg.so.1 => libecpg.so.1.1 libp2c.so.1 => libp2c.so.1.2.0 libnewt.so.0.30 => libnew
