Exception in thread "main"
hi there, any class I try to run, gives me a : Exception in thread "main" java.lang.NoClassDefFoundError: classname sample and demo files, own files no matter... PATH points to the jdk/bin directory and CLASSPATH is set (JDK1.2 on RedHat6) please help me someone ! thanx Eric Ballnath
JVM Size Limitations on Linux x86
I am depserately trying to get a single JVM to grow beyond the 2GB size limit that I've hit. I've tried both the IBM and Sun JVM's but without any luck. They both use mmap() to allocate memory, so there isn't a way to drop in a better memory allocation ssytem such as the "hoard" malloc(). My Linux configuration is: Debian woody with a 2.4.17 kernel on a Compaq Proliant 6500 with 4 Xeon 500's and 4GB of RAM along with about 800MB of swap. I have tried the latest IBM 1.3.1, blackdown 1.3.1, and Sun 1.4 releases. The problems with the Sun and blackdown JVM is as http://developer.java.sun.com/developer/bugParade/bugs/4401509.html puts it...the call to mmap is just plain over the linux x86 limit. However, the IBM one is more mysterious...it seems to be just not mmaping the right spot; the last mmap just hangs (and it's not trying to mmap more than the limit)...it just doesn't mmap a whole gigabyte of process address space from the end of its binary at 0x0804d000 to 0x400. Does anyone have any idea how to fix this? Would it be a big job to fix it in the JVM? Thanks, eric. -- _ _ | |(_) http://ir.iit.edu/~ej | _| | | Research Assistant | |___ | | Information Retrieval Laboratory |__/ | Illinois Institute of Technology |__/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JVM Size Limitations on Linux x86
I have tried it with the 64GB PAE turned on...I don't belive it changes these constants. It didn't help me. eric. On Tue, Feb 12, 2002 at 11:58:50AM -0800, Vladimir G Ivanovic wrote: > Have you tried enabling CONFIG_HIGHMEM64G when building your kernel? > With a 4GB VM space, the kernel occupies 1 GB and processes 3GB as > defined by TASK_SIZE: > > page.h:81:#define __PAGE_OFFSET (0xC000) > page.h:120:#define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET) > processor.h:268:#define TASK_SIZE (PAGE_OFFSET) > > I assume that these are changed when you compile with > CONFIG_HIGHMEM64GB. > > --- Vladimir > > > Vladimir G. Ivanovichttp://leonora.org/~vladimir > 2770 Cowper St. [EMAIL PROTECTED] > Palo Alto, CA 94306-2447 +1 650 678 8014 > > "e" == ej writes: > > e> I am depserately trying to get a single JVM to grow beyond the 2GB > e> size limit that I've hit. I've tried both the IBM and Sun JVM's but > e> without any luck. They both use mmap() to allocate memory, so there > e> isn't a way to drop in a better memory allocation ssytem such as the > e> "hoard" malloc(). > > e> My Linux configuration is: Debian woody with a 2.4.17 kernel on a > e> Compaq Proliant 6500 with 4 Xeon 500's and 4GB of RAM along with about > e> 800MB of swap. > > e> I have tried the latest IBM 1.3.1, blackdown 1.3.1, and Sun 1.4 > e> releases. The problems with the Sun and blackdown JVM is as > e> http://developer.java.sun.com/developer/bugParade/bugs/4401509.html > e> puts it...the call to mmap is just plain over the linux x86 limit. > e> However, the IBM one is more mysterious...it seems to be just not > e> mmaping the right spot; the last mmap just hangs (and it's not trying > e> to mmap more than the limit)...it just doesn't mmap a whole gigabyte > e> of process address space from the end of its binary at 0x0804d000 to > e> 0x400. > > e> Does anyone have any idea how to fix this? Would it be a big job to > e> fix it in the JVM? > > e> Thanks, > e> eric. > > e> -- > e> _ _ > > (_) http://ir.iit.edu/~ej > _> | | Research Assistant > >> |___ | | Information Retrieval Laboratory > >> __/ | Illinois Institute of Technology > >> __/ > > > e> -- > e> To UNSUBSCRIBE, email to [EMAIL PROTECTED] > e> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- _ _ | |(_) http://ir.iit.edu/~ej | _| | | Research Assistant | |___ | | Information Retrieval Laboratory |__/ | Illinois Institute of Technology |__/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JVM Size Limitations on Linux x86
Ahh...this may be a solution. It looks like I could build it to not do mmap()s, but do malloc()s instead by using -DUSE_MALLOC (and maybe even link it against hoard to have a really nice malloc) However, it appears to be a total pain to get this thing to compile... I have no idea where a JDK with libjvm_g.so comes from and OPEN_MAX wasn't defined in some file and my yacc didn't like line 125 of parser.y and signals_md.o has a bunch of unresolved symbols that should be in threads_md.o Seems like if I actually reverted to the version of GCC they recommend it might fix some of these problems, but I don't think all. Does anyone actually compile this thing? :) Someone want to help me with getting one that has -DUSE_MALLOC? eric. On Tue, Feb 12, 2002 at 02:24:40PM -0500, Paul Mclachlan wrote: > At :47 02 Feb 2002 -0600, Eric wrote: > > > Does anyone have any idea how to fix this? Would it be a big job to > > fix it in the JVM? > > You could grab the source to 1.3.1 at: > > http://www.sun.com/software/communitysource/ > > and edit > > jdk131src/j2sdk1.3.1/src/solaris/hpi/src/memory_md.c > > to use your own allocation strategy. All of the platform specific stuff the VM > does goes through HPI, I'm pretty sure this would work & it doesn't seem like > too much work... > > - Paul -- _ _ | |(_) http://ir.iit.edu/~ej | _| | | Research Assistant | |___ | | Information Retrieval Laboratory |__/ | Illinois Institute of Technology |__/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
VB and Access == Java and ????
I develope Java in work most of the time on my Linux machine (which is great), but, a project has come up which will need a small persistant store of objects/values, about 1000-3000 of them. Management has deemed that VB with an Access file (which can be replaced easily) is the way to go. (Bye Bye Linux for me). What are the options for Java? Would a persistant Vector of objects not slow down things terribly? Is there any other Access-like database routine we could use which is free? I'd prefer that all 1000 objects weren't read into RAM, some way to sql them from their little file? Any thoughts...
VB and Access == Java and ????
Thanks for all the responses! Most people suggested an rdbms with JDBC which is something I'll look into. But, seeing as how I know that there will be only about 2000 objects, what if I just read them in and put them in a vector/linked list/hash table. In your experience would that slow the app down/bloat it out too much for comfort? If it was C++ I wouldn't even worry about it. Eric
Re: seg fault using Linux/Alpha JDK 1.1.5 for JNI
Hi George,
My program consists entirely of this:
#include
int main(int argc, char **argv)
{
JDK1_1InitArgs vm_args;
vm_args.version = 0x00010001;
JNI_GetDefaultJavaVMInitArgs(&vm_args);
}
This should work. I'm compiling with the following line:
cc -o jnitest -I/include -I/include/genunix \
jnitest.c -L/lib/alpha/green_threads -ljava
where is the location of the JDK on my Linux/Alpha box.
Thanks,
Eric
>>>>> Uncle George <[EMAIL PROTECTED]> writes:
> interesting the things people do. i myself have not tried what ur doing,
> but i suppose it is suppose to work. i'll have a look see. i suspect that
> it is mainly a prob trying to find where the root dir to the lib.so are,
> there is no libdl function that will do it . ( i suspect ). a hack was
> made, and it appears u got caught. u got more of main() code before
> InitArgs() ??
> i'd be curious as to how u linked - last time i tried i got link probs ( as
> i remem )
> gat
jre and libc5?
Hi all, are there any minimum libc5 requirements for jre 1.1.5 v7 as there are for the JDK? I'm getting a segmentation violation running the JRE, and wnat to be sure it's not just cuz I've got the wrong libc. I'm running on a RedHat 4.1 system with libc.so.5.3.12. Thanks, Eric
javac segmentation fault
I installed the jdk1-1-6v4 and can compile java files fine, but running anything 'java classfile' gets a segmentation fault. I have RedHat 5.0 on the system and need to do a java demo next week. I would prefer not to use win95 to do the demo. I checked the faq and didn't find anything that decribes my scenario. -Eric
Re: javac segmentation fault
Someone enlighted me that I need to install the absolutely latest glibc RPM files. I found them at: ftp://ftp.redhat.com/pub/redhat/redhat-5.0/updates/i386/ So far, this seems to have fixed my problems. -Eric - Original message below - I installed the jdk1-1-6v4 and can compile java files fine, but running anything 'java classfile' gets a segmentation fault. I have RedHat 5.0 on the system and need to do a java demo next week. I would prefer not to use win95 to do the demo. I checked the faq and didn't find anything that decribes my scenario. -Eric
RE: Alpha port?
> "Mark" == Mark Morgan <[EMAIL PROTECTED]> writes: Mark> Hello - We are looking at doing some serious development on Mark> Alpha Linux, and were wondering what the status of JDK for Mark> it is. Can you shed any light on it for us? Mark> Thanks, -- Mark Morgan Partner Aurora Logic, LLC Mark> [EMAIL PROTECTED] 406 863 9863 phone 406 863 4915 fax I too am interested in the JDK for alpha linux. I have the binary distribution from Uncle George. jdk116_alpha_21164a_linux_bin_v1.gz jdk116_alpha_linux_classes_v1.gz But found some problems when trying to use habanero on top of it. Further, I'd be interested in getting the diffs so I could try them on jdk117 and help out with the alpha port.
media framework
> "Dimitris" == Dimitris Vyzovitis <[EMAIL PROTECTED]> writes: Dimitris> Hi, Since it seems that we are going to have jdk1.2 in Dimitris> sync with everybody else, are there any plans for also Dimitris> porting the media framework (especially java3D) on Dimitris> linux? I'm certainly interested. Has Javasoft released reference implementation source code? If not then the project is more like implementing the Java 3D spec on linux. Which would seem to point towards implementing the Java 3D API on top of a pre-existing 3D graphics library. Isn't there a 3D project for gtk+ ? Then again with the AWT being Motif bound, gtk+ might not be the optimal path. EJB
Re: Alpha port?
> "Uncle" == Uncle George <[EMAIL PROTECTED]> writes: Uncle> what is habanero??? gat >> But found some problems when trying to use habanero on top of >> it. Its a groupware application and environment for developing groupware in java. You can find it at. http://www.ncsa.uiuc.edu/SDG/Software/Habanero/
Re: JDK for 21064?
> "Uncle" == Uncle George <[EMAIL PROTECTED]> writes: Uncle> actually a 21164a ( the "a" really counts - who wuddya Uncle> thunkit ) i'm gonny try to see if i can build for all Uncle> processors with 117, and see if it all will fit under 10 Uncle> meg. these processors are ( 21064, 21164, and 21164a ). Uncle> at the moment i am having probs with finding a home. The Uncle> folks at blackdown seemed to have reneged on their offer Uncle> :-( . My 250 meg web xfer/month appears to be exhausted. Uncle> oh, well. I could help a bit, I have a cable modem connection that is up all the time, downside is that my address is not static. What I could do is set up a redirect from a site where I have a fixed address, but only a small amount of space, and host a mirror of your page on my machine. I have plenty of space and bandwidth. Obviously, a better offer would be if someone could provide space with proper static IP, but if you don't get a better offer, I'm more than willing to help out.
When will JDK1.2 available
Hi, Just want to ask as the titled, thanx for guys like you to make Java work on linux and I really hope java and linux can take over microsoft's buggy products. Hope you could give a mail to me once it is available. Thankx >From newbie Eric
AWT problem with SWiM Motif 1.2 under alpha 117v2 port
I just upgraded to the jdk117_alpha21164a_bin and am having trouble with some of the demo programs seg faulting or aborting while using SWiM Motif. They all work fine when I set my LD_LIBRARY_PATH to use lesstif 0.87. So this is not a critical bug. But it is interesting nonetheless. An example would be the appletviewer GraphicsTest/example1.html It opens the appletviewer box, then immediately crashes before displaying anything. See the end of this message for an error outputs. I'm using a 533Mhz LX processor. Redhat 5.2 kernel 2.0.35 glibc-2.0.7 The SVGA_XF86 driver supporting my Millenium SVGA. SWiM Motif 1.2.4. The Afterstep window manager. JAVA_HOME, CLASSPATH, JDK_HOME are all unset. I have not applied any of the kernel patches in the appendix yet. Other AWT things like the MoleculeViewer work fine. And I haven't had a problem with any Swing-1.0.2 examples I tried so far. But the following demos from the binary distribution all failed. CardTest DitherTest DrawTest GraphicsTest I exhaustively tried the other demos and they all worked just fine. (Good job Mr Gatgul!) [dump with LD_LIBRARY_PATH set to /usr/X11/lib for SWiM] java: ../../../../src/genunix/java/green_threads/src/dl-malloc.c:1257: do_check_inuse_chunk: Assertion `mchunkptr)(((char*)(p))+((p)->size & ~0x1)))->size) & 0x1)' failed. SIGABRT 6* abort (generated by abort(3) routine) Full thread dump: "Screen Updater" (TID:0x15556046b00, sys_thread_t:0x15557a95d98, state:CW) prio=4 java.lang.Object.wait(Object.java) sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:70) sun.awt.ScreenUpdater.run(ScreenUpdater.java:90) "AWT-Motif" (TID:0x155560428b0, sys_thread_t:0x15557a73d98, state:CW) prio=5 java.lang.Thread.run(Thread.java) "AWT-Input" (TID:0x155560428f0, sys_thread_t:0x15557a51d98, state:R) prio=5 "AWT-EventQueue-0" (TID:0x15556042920, sys_thread_t:0x15557a2fd98, state:MW) prio=5 sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:265) java.awt.Component.dispatchEventImpl(Component.java:1862) java.awt.Container.dispatchEventImpl(Container.java:949) java.awt.Component.dispatchEvent(Component.java:1741) java.awt.EventDispatchThread.run(EventDispatchThread.java:79) "thread applet-GraphicsTest.class" (TID:0x155560411c0, sys_thread_t:0x1655d98, state:R) prio=5 *current thread* sun.awt.motif.MComponentPeer.setBounds(MComponentPeer.java:593) sun.awt.motif.MComponentPeer.reshape(MComponentPeer.java:631) sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:88) sun.awt.motif.MChoicePeer.initialize(MChoicePeer.java:34) sun.awt.motif.MComponentPeer.init(MComponentPeer.java:129) sun.awt.motif.MComponentPeer.(MComponentPeer.java:133) sun.awt.motif.MChoicePeer.(MChoicePeer.java:38) sun.awt.motif.MToolkit.createChoice(MToolkit.java:108) java.awt.Choice.addNotify(Choice.java:105) java.awt.Container.addNotify(Container.java:1175) java.awt.Panel.addNotify(Panel.java:78) java.awt.Container.addNotify(Container.java:1175) java.awt.Panel.addNotify(Panel.java:78) java.awt.Container.addImpl(Container.java:306) java.awt.Container.add(Container.java:182) GraphicsTest.init(GraphicsTest.java:88) sun.applet.AppletPanel.run(AppletPanel.java:281) java.lang.Thread.run(Thread.java) "Finalizer thread" (TID:0x1555601e450, sys_thread_t:0x1633d98, state:R) prio=1 "Async Garbage Collector" (TID:0x1555601e5c0, sys_thread_t:0x1611d98, state:R) prio=1 "Idle thread" (TID:0x1555601e570, sys_thread_t:0x15efd98, state:R) prio=0 "Clock" (TID:0x1555601e110, sys_thread_t:0x15cdd98, state:CW) prio=12 "main" (TID:0x1555601e160, sys_thread_t:0x12015dbb0, state:CW) prio=5 Monitor Cache Dump: java.lang.Object@llector": owner "thread applet-GraphicsTest.class" (0x1655d98, 6 entries) Waiting to enter: "AWT-EventQueue-0" (0x15557a2fd98) [EMAIL PROTECTED]": Waiting to be notified: "Screen Updater" (0x15557a95d98) (0x1804b28): owner "thread applet-GraphicsTest.class" (0x1655d98, 1 entry) [EMAIL PROTECTED]": owner "thread applet-GraphicsTest.class" (0x1655d98, 1 entry) Waiting to be notified: "AWT-Motif" (0x15557a73d98) Registered Monitor Dump: Verifier lock: Thread queue lock: Waiting to be notified: "main" (0x12015dbb0) Name and type hash table lock: String intern lock: JNI pinning lock: JNI global reference lock: BinClass lock: Class loading lock: Java stack lock: Code rewrite lock: Heap lock: Has finalization queue lock: Finalize me queue lock: Dynamic loading lock: Monitor IO lock: Child death monitor: Event monitor: I/O monitor: owner "AWT-Input" (0x15557a51d98, 1 entry)
Re: AWT problem with SWiM Motif 1.2 under alpha 117v2 port
>>>>> "George" == Uncle George <[EMAIL PROTECTED]> writes: George> is swim motif avail ( free ? ) Eric Bohm wrote: Unfortunately, no. It is a commercial motif implementation much like Mootif. >> I just upgraded to the jdk117_alpha21164a_bin and am having >> trouble with some of the demo programs seg faulting or aborting >> while using SWiM Motif. >>
awt error on alpha
> "David" == David Harvill <[EMAIL PROTECTED]> writes: David> We are running java 1.1.7 for the alpha on RedHat 5.2. David> Java on the command line works fine, but anything we try David> using graphics gives an error about not finding libawt.so David> and libXm.so. Both files are there. libawt is in a David> green_threads subdirectory of java/lib and libXm is in David> /usr/X11R6/lib. I have tried manipulating path variables, David> but to no avail. Any suggestions, hints, etc as to what David> may be going on? Try adding the directories where motif (or lesstif) are installed to LD_LIBRARY_PATH. Specifically the directory where libXm.so exists. perhaps LD_LIBRARY_PATH=/usr/X11R6/lib I have 1.1.7 on RedHat-5.2 working just fine on my alpha. No trouble with awt apps.
Re: Fonts under 1.2 on Alpha-Linux
> "George" == Uncle George <[EMAIL PROTECTED]> writes: George> Fonts have changed. From my look jdk1.2 want to really use George> scaleable fonts/type1 fonts/truetype fonts. Scaleable George> fonts from X are the ones with 0-0-0-0 in them ( as this George> is the criteria used by jdk1.2) type1&truetype are suppose George> to be from the OPENWIN directory, which is "" in my George> build. There is a type1 directory in /usr/X11R6 ( but no George> TrueType ). Have you considered trying to integrate with Freetype? George> I, just like u are somewhat in the dark about the methods George> & madness employed by javasoft. Although I have the code, George> and can fix the problem as I find them - I still just George> cannot say why, or even how to back out of the George> enhancement. George> In either case, most of the code to handle type1&truetype George> are/were just not 64bit happy. It appears to have been George> coded for a 16/32 bit environment. I think I have all the George> long/int/short issues resolved - but who-knows, there may George> yet be other pointer arith boo-boo's ( this would be for George> my release v4 ) gat Freetype seems to do a pretty decent job of providing True Type fonts. It is opensource and integration with freetype is a compile time option in XFree86. Check it out at http://www.freetype.org/ Though adding yet another required library to the list for the JDK is not optimal, this might be a good way to cope with SunSoft's new direction. As a side benefit, it has already been ported to alphalinux.
Virgin System!
I want to start programming Java on Linux but its abit confusing with all the versions of glibc libc jdk linux... I have an old pentium, if I put Redhat 5.1 on it, what else will I need. glibc version ?, jdk version? motif/lesstif? thanking you...
free/malloc (re)defined in libjava.so?
Hi, I'm working on a project (Applixware for Linux) that uses the JDK libjava.so internally. We've stumbled on some sort of bug that I think has to do with free() being redefined in libjava.so (it's not, for example, in Solaris, so we don't encounter this problem). I'm not sure much more what's going on, except that it'd be nice if there were a workaround such that we could make sure to be using the correct system functions (i.e., free, malloc, etc.), or an implementation that didn't step on system calls. Forgive me if I'm asking the impossible, I don't know much of libjava internals. As a note, on our glibc port, we see this message: > OUCH: nested memory code, to 1 levels. while on the libc5 port, we're more apt to see either a massive core dump or "Trying to free bogus memory" messages. Any help you can give would be appreciated. Thanks, Eric
Re: jdk1.2 awt problems
I believe your using the link command incorrectly. I could be wrong in
regards to Linux usage, but I believe the proper way would be;
ln {args} source target
the "->" shouldn't be there. And you can link file to file, so I'd have to
look at this in Linux myself. But I'd try it w/out the "->" first.
[EMAIL PROTECTED] wrote:
> When i am trying
>
> ln -s /usr/lib/libstdc++-lib6.0-1.so.2 -> /usr/lib/libstdc++.so
>
> i am getting an error that the last argument must be a directory.
>
> Please help me because jdk1.2 doesn't run.
>
> ___
> Get your free, private email at http://mail.excite.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]
where to get kernel 2.0.37 plus patch
Hi! First, thanks for all the work you've done to get 1.2 onto Linux. Second, a suggestion: could you put a link from your site (where you mention that kernel 2.0.37 plus a patch is required for 1.2) to the place where that kernel and patch can be found? The kernel archives stop at 2.0.36 Thanks, --Eric House -- ++ | Eric House | 408-517-5351 (internally: 6-5351 in Cup01) | | "Document Services" team, Vertigo Browser | ++ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
kernel 2.0.37 with Alan Cox's ac9 patch?
Hello team, I already worked with your port of jdk 1.1, and it was really excellent. Now I'd like to work on the jdk 1.2. But I had no chance to find kernel patch 2.0.37 and Alan Cox's ac9 patch. Do you have any idea where to find them ? Many thanks for your excellent job. good bye Eric. begin:vcard n:GRAMMATICO;Eric x-mozilla-html:FALSE org:groupe CERAM;Mastère Base de Données et intégration de Systèmes adr:;;60 Rue Dostoievski;Sophia Antipolis CEDEX;;06902; version:2.1 email;internet:[EMAIL PROTECTED] title:Student fn:Eric GRAMMATICO end:vcard
Seeking source for Linux JDK 1.2 port
Hi: The blackdown.org web site used to suggest that the patches necessary to build the JDK on Linux were available. Are they still? Where? Thanks, --Eric House Sun Microsystems' Java Software Division -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Class not found
Hi A week of frustration and still we are unable to run any of the demos on our Blackdown 1.2 installation. Here is the error: [root@plum Simple]# java SimpleExample java.lang.NoClassDefFoundError: javax/swing/JPanel at java.lang.Throwable.(Throwable.java:40) at java.lang.Error.(Error.java:21) at java.lang.LinkageError.(LinkageError.java:21) at java.lang.NoClassDefFoundError.(NoClassDefFoundError.java:21) We are able to compile and run simple hello world text scripts. The docs say no environment vars are required (except the path to java itself.) But of course we have tried setting and unsetting with no result. Any suggestions. Thanx -- Eric Smith 021 4236111 It's not a bug, it's tradition! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Slackware 3.5 and JDK 1.2 prev-v2
Hi, I have, Slackware 3.5 (Linux 2.2.7) Primary C library : glibc2.0.7 (/lib/libc.so.6 --> /lib/libc-2.0.7.so) linuxthreads-0.71 JDK1.2 prev-v2 Environment variables : PATH=$PATH:/u/jdk1.2/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/u/jdk1.2/jre/lib/i386/native_threads:/u/jdk1.2/jre/lib/i386/green_threads:/u/jdk1.2/jre/lib/i386/classic: I launch java command, this command respond : /u/jdk1.2/bin/i386/native_threads/java: error in loading shared libraries /u/jdk1.2/jre/lib/i386/classic/libjvm.so: undefined symbol: __bzero Do you have an idea and can you help me ? Can I build the new distribution of JDK with gcc or can I find the JDK ready for slackware ? -- Cordialement. = M. Duval Eric Arobase Net Stratégies 12 avenue Raspail 94250 Gentilly Tel : +33 1 41 98 60 60 Fax : +33 1 41 98 60 66 Email : [EMAIL PROTECTED] WWW : http://www.arobase-net.fr == -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Slackware 3.5 and JDK 1.2 prev-v2
Hi, I have, Slackware 3.5 (Linux 2.2.7) Primary C library : glibc2.0.7 (/lib/libc.so.6 --> /lib/libc-2.0.7.so) linuxthreads-0.71 JDK1.2 prev-v2 Environment variables : PATH=$PATH:/u/jdk1.2/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/u/jdk1.2/jre/lib/i386/native_threads:/u/jdk1.2/jre/lib/i386/green_threads:/u/jdk1.2/jre/lib/i386/classic: I launch java command, this command respond : /u/jdk1.2/bin/i386/native_threads/java: error in loading shared libraries /u/jdk1.2/jre/lib/i386/classic/libjvm.so: undefined symbol: __bzero Do you have an idea and can you help me ? Can I build the new distribution of JDK with gcc or can I find the JDK ready for slackware ? -- Cordialement. = M. Duval Eric Arobase Net Stratégies 12 avenue Raspail 94250 Gentilly Tel : +33 1 41 98 60 60 Fax : +33 1 41 98 60 66 Email : [EMAIL PROTECTED] WWW : http://www.arobase-net.fr == -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
appletviewer missing fonts
Hi y'all, Whenever I start appletviewer I get these missing font messages. Did I miss something when installing? I use the blackdown JDK 1.2b pre-release kit on TurboLinux 3.0. Someone seen this stuff? gr. Eric Font specified in font.properties not found [--zapf dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--zapf dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--zapf dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--zapf dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--zapf dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--zapf dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--zapf dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--zapf dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--zapf dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] Font specified in font.properties not found [--zapf dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific] __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Niiiccee...
...uhhh, it's not something great. In fact, something most of us don't like... ;) - Original Message - From: Jacob Nikom <[EMAIL PROTECTED]> To: Riyad Kalla <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; Marc Chung <[EMAIL PROTECTED]>; Joe Sinkwitz <[EMAIL PROTECTED]>; Rick Mercer <[EMAIL PROTECTED]>; Laurence Hartje <[EMAIL PROTECTED]>; Kyle P Laughlin <[EMAIL PROTECTED]>; Rudiger Moller <[EMAIL PROTECTED]> Sent: Thursday, September 09, 1999 12:45 PM Subject: Re: Niiiccee... > I am sure it is something great, but I the response I got was: > tr: no match > > Jacob > > Riyad Kalla wrote: > > > > This is to lighten the spirits a little bit, login to a > > Unix/Linux machine and type this: > > > > echo njdsptpgu tvdlt | tr [b-z] [a-y] > > > > Best wishes > > > > -- > > 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]
Quetion on IDEs
Folks, In this list some discussion was held about java IDE's on Linux. Now all IDEs mentioned are java-based. Performance isn't a thing you can show off with in java, so I wondered if I should download Jbuilder or Netbean or whatever similar IDE for use on my 48MB 150Mhz Pentium (Linux) boz Will running any of these become an annoying experience? Anyone? __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Out of Office AutoReply: appletviewer missing fonts
All you that replied on my postings: I received it on my private address I set as a REPLY-TO. Should be fixed ;-) --- !Ken Horn <[EMAIL PROTECTED]> wrote: > > __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Jozilla?
Folks, I am looking for a nice coffee and cream project and came across this Jozilla browser, said they needed help, were part of a grand project called JOS. I downloaded the user version but since it runs on 1.1 I decided to upgrade the lot to 1.2 myself. But I've got a few little questions (why the docs do not match the software etc) but haven't been able to contact anyone. Does anybody know about this proj being dead or slumbering? I feel it quite interesting to lift the browser to 1.2 even if nobody's waiting on it; it's nice software though ;-) For tech's sake anyway. Anyone? __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: NoClassDefFoundError and RH6.0
Yes, Greg, and it's the most stupid thing they invented at SUN because now you have to juggle with most filemanagers extension feature to execute a java class program. Moreover, since the sacred URL needs every character of a given path, it would be suitable if that went for .class too. Anyway, what's the deal? lotsa Success with Java anyway! --- "Roll, Greg" <[EMAIL PROTECTED]> wrote: > Actually yes Is this incorrect? I'm fairly new to > the Java thing > but I compile fine with the same steps on a Solaris > machine. > > GR > > -Original Message- > From: Chris Abbey [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 29, 1999 8:05 PM > To: Roll, Greg > Cc: [EMAIL PROTECTED] > Subject: Re: NoClassDefFoundError and RH6.0 > > > At 09:04 9/29/99 -0500, Roll, Greg wrote: > >Exception in thread "main" > java.lang.NoClassDefFoundError: HelloWorld/class > > you didn't by any chance type "java HelloWorld.class" did > you? > > 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] > > __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
To find classes or to be Applet thats....
Folks, Though I'm confessin' that I read a bit less than I should maybe, why do applets in JDK 1.2 ignore my $CLASSPATH? It worked with JDK 1.1.4 on my TurboLinux. After installing, the applicable text to read says: 'No $CLASSPATh, no $JAVA_HOME, just run it!" Fairly enthusiastic that, but what was wrong with Applets conforming to my $CLASSPATH? I found out apps DO mind the $CLASSPATH though. I alwyas use a self-made script that goes java -classpath .:$CLASSPATH $1 Howver, since I installed JDK 1.2-b-prev the script appletviewer $1 & does not function, and now I found out why. Anyone? __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Classpath
Roger, use java -classpath .:$CLASSPATH this way your current dir and your claspath is always scanned! Have fun --- Roger Smith <[EMAIL PROTECTED]> wrote: > hey there I installed the jdk1.1.6 onto my Redhat system > then I also > installed the mysql JDBC and I had to set the classpath > so my program > would find the jdbc files, however, when I type java > it says > "can't find class " and my other programs run fine > without the > classpath set for the jdk but I need to set the classpath > here for the > jdbc stuff. Can you help?? > Thanks > > > > -- > To UNSUBSCRIBE, email to > [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Stupid Newbie Questions: Catching unanticipated null pointer exceptions (Are there really any other kind =^)
Oh, this reminds me of (X)Emacs and Java: Check out http://www.baclace.net/emacsjava.html for your IDE mate. gr. Eric --- "Alex M." <[EMAIL PROTECTED]> wrote: > > Exception in thread "main" > java.lang.NullPointerException: > > at > java.awt.Container.addImpl(Container.java:316) > > at > java.awt.Container.add(Container.java:245) > > at Tedit.(Tedit.java:100) > > at Tedit.main(Tedit.java:557) > > The problem is in line 100 of Tedit.java, specifically in > the constructor. > I bet you're trying to add a null object to a container, > either that or > you're trying to add an object to a container that is > null. > > I don't use JDB unless I'm really desparate. If you use > Emacs and install > the JDE for Emacs (you can get to it off of blackdown > under third party > tools I think) it integrates the jdb debugger into emacs > so it kind of > works like JBuilder's debugger where you can see what > line you are on and > skip/trace/etc into the source code, and watch the source > code while the > program runs. > > > -- > To UNSUBSCRIBE, email to > [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDBC newbie question
I've been thru this. You go to check you have the 1.2.2 driver and not the 1.2.1, which did not work on my prev2 JDK + latest mysql Also for apps: java -cp .:$CLASSPATH proggie with a correct classpath set in applets $CLASSPATH won't work. You'll want to put into your html: .. .. put the mm jarfile in this tag and in the applet home dir. If there is no jar, copy the mm.mysql level into the applet home dir. I know it's a shame, butt... If you haven't got a jar you use the jar tools to pack the mm.mysql classes into a jar file. This knowledge cost me a lotta sweat. I hope it pays off for you brother... Oh, I managed to step over the line to PostgrSQL. Support for JDBC is much better. This might be a hint. They also upgraded to JDBC2 faster then mysql usually does Good luck, gr. Eric --- Jalaluddin Riaz <[EMAIL PROTECTED]> wrote: > hi, > I am a newbie to JDBC programming and am having some > problems. I am > using mysql rdbms and mm.mysql.jdbc-1.2 driver and have > jdk1.2preV2 > installed. the problem is everytime i try to run a prog. > i get class not > found exception. the prog is not able to find the driver > class files. i have > tried different CLASSPATH settings, still does no works.. > any ideas. > > thanks. > > __ > 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] > > __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Can't find 'dingbat' fonts on 1.2preV2 install
Bradley, this problem was discussed predominantly in the month of september. I suggest you check the archives on Blackdown. I was one of the complainers... gr. Eric --- Bradley Rosser <[EMAIL PROTECTED]> wrote: > Hi. I've recently installed the Blackdown 1.2 pre-v2 JDK > and > everything works fine except, when running a java > program, a heap > of "can't find font" messages popped up such as this: > > "Font specified in font.properties not found >[--zapf > dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]" > > I commented out all 'dingbat' references in the > font.properties > file and that seems to have fixed the problem, but I just > wanted > to ask if there was a better solution (just 'chopping > out' the > fontname-dash-2 series of definitions in font.properties > seemed to > be a bit crude). > > I'm running fvwm2 with Linux 2.2.12 and XFree86 (I don't > have the > version of XFree with me right now, but it's one of the > most > recent - came with my Slakware 4.0 distribution of the > 2.2.7 kernel). > > Do other linux distributions have these 'dingbat' fonts? > Should > I acquire them (somehow), or otherwise fix things up a > bit more > elegantly? > > As a newcomer to Java on Linux, may I ask if anyone can > give me > an idea as to when 1.3 is likely to be out? I had a > number of > Swing bugs in 1.2 (developing on NT) which were fixed > when I went > to the recent 1.3beta for NT. I don't know anything > about > java implementations; can I try and merge the Swing java > source > from 1.3 into my blackdown 1.2preV2 installation or are > more > complicated porting methods required? > > Thanks for any help, > > > Brad Rosser > [EMAIL PROTECTED] > > > = > > __ > Do You Yahoo!? > Bid and sell for free at http://auctions.yahoo.com > > > -- > To UNSUBSCRIBE, email to > [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDBC newbie question
Thanks to you too, Stick to whatever suits you... gr. Eric --- Jalaluddin Riaz <[EMAIL PROTECTED]> wrote: > hi, >thanks for help. i think i have got it sorted now. and > i'm gonna stick to > mysql, i've got used to it. > thanks again. > > > > > >I've been thru this. > > > >You go to check you have the 1.2.2 driver and not the > >1.2.1, which did not work on my prev2 JDK + latest mysql > > > >Also for apps: > >java -cp .:$CLASSPATH proggie > >with a correct classpath set > > > >in applets $CLASSPATH won't work. > >You'll want to put into your html: > > > > > >.. > >.. > > > > > >put the mm jarfile in this tag and in the applet home > dir. > >If there is no jar, copy the mm.mysql level into the > applet > >home dir. I know it's a shame, butt... > > > >If you haven't got a jar you use the jar tools to pack > the > >mm.mysql classes into a jar file. > > > >This knowledge cost me a lotta sweat. I hope it pays off > >for you brother... > > > >Oh, > >I managed to step over the line to PostgrSQL. Support > for > >JDBC is much better. This might be a hint. They also > >upgraded to JDBC2 faster then mysql usually does > > > >Good luck, > >gr. Eric > > __ > Get Your Private, Free Email at http://www.hotmail.com > __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Version snag
Not all in this group.
Since you ported Java stuff to pre2, this is the place to
go lookin for answers.
If people drag you down, the energy wasted is theirs.
gr. Eric
--- Hartnett <[EMAIL PROTECTED]> wrote:
> This same package was installed on Solaris and its
> runtime and works fine.
>
> This group seems to be quick to jump on someone if it is
> not JAVA Linux related in someone's opinion.
> I am running Blackdown JAVA 2 on Red Hat Linux 6, that
> sounds like this group to me. I don't see what the
> problem
> is?
> I thought the idea of this list is to try to help others,
> not to try to make someone want not to use these
> products?
>
> On Mon, 25 Oct 1999 18:19:15 -0700 (PDT), Dustin Lang
> wrote:
>
> >
> >Hi,
> >
> >> I am just surprised that the software now states that
> the pre-release
> >> 2 is not JAVA 2, can anyone make a suggestion as to
> why?
> >
> >I would suspect that your program is checking for a
> version number string
> >in a particular format, and is not receiving an answer
> in precisely that
> >format, and is choking. I would further suspect that it
> was written in
> >windows and not tested anywhere other than windows.
> Blah. I would also
> >suspect that your code is calling
> System.getProperty("java.version"), and
> >calling something like
> "1.2".equals(System.getProperty("java.version")).
> >This would sugest that your code is to blame, not the
> Blackdown JDK (and
> >your message is therefore off-topic). I cannot make a
> further guess
> >without seeing your code.
> >
> >Cheers,
> >dstn.
> >
> >
>
>
>
>
> --
> ICQ# 10073477
> http://people.ne.mediaone.net/tardis/index.html
>
> Space Corps Directive #1694
> During temporal disturbances, no questions shall be
> raised about any crew member whose time sheet shows him
> or her clocking off 187 years before he clocked on. -Red
> Dwarf
>
>
>
>
--
> To UNSUBSCRIBE, email to
> [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>
__
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: GUI Design Question
You might want a bit of help with GUI using the best IDE
I've ever seen ( & great perfomance)
AnyJ for Linux:
http://www.netcomputing.de/
gr. Eric
--- Riyad Kalla <[EMAIL PROTECTED]> wrote:
> Java-Linux,
> I've been getting deeper into UserInterface design
> recently and have noticed many design issues that I am
> comming up against as my interfaces/programs are getting
> larger and more complex. And I was hoping maybe some of
> you
> could point me in the right direction.
>
> My GOAL is to be able to break my UserInterface down into
> smaller classes that can all be instantiated and used by
> the
> main interface. For example have a ButtonPanel,
> NavigationPanel, DisplayPanel and seperate listener
> classes
> for each of those different types of panels. Then have a
> UserInterface class that instantiates all of them and
> builds
> the UI. The problems I am running into, as you can
> imagine,
> is getting objects back and forth between these classes
> CLEANLY. For an example. Lets say I have these 3
> following
> classes, one of which is a listener:
>
> /* Class Listener */
> public class iHearYou implements ActionListener
> {
> actionPerformed( ActionEvent e )
> {
> // Do something complex, create a new graphical
> component as a result
> // that needs to be added to the UI.
> }
> }
>
> /* Class Panel */
> public class controlMe extends JPanel
> {
> JButton a = new JButton( "Hi!" );
> iHearYou newEar = new iHearYou();
> a.addActionListener( newEar );
> add( a );
> }
>
> /* Class UI */
> {
> controlMe S&M = new controlMe();
> getContentPane().add( S&M );
> }
>
> No assuming I click that button, which is being contained
> by
> the UI class, that action propogates all the way down to
> the
> action listener, where a new UI components (lets say a
> JLabel) is created, and consequently wants to be added
> to
> my UI WITH a specific layout directive (lets say
> BorderLayout.NORTH). some might say "create an add
> method",
> but the problem there that I percieve is lets say I have
> a
> 100 buttons that do something different and have to add
> there component someplace else depending on many
> different
> variables. Then my generic add() method has to either
> become
> insanely complex or I have to find another way around
> this.
>
> None the less, how do I cleanly get my object back to the
> main UI class and have it be added to the UI?
>
> More importantly, is THIS good design that I have
> outlined
> above? Or should I have the extended JPanel class
> listening
> to itself? I don't like that idea, because it doesn't
> inantely seem OOP to me. So I've tried to break things
> up.
> But now I am getting confused about which road to head
> down.
>
> My goal would to be to create complex user interfaces so
> obviously I need to tackle this sooner or later.
>
> --
> [ Riyad Kalla ]
> [ [EMAIL PROTECTED] ]
> [ CS - Major ]
> [ University of Arizona ]
>
>
>
>
>
--
> To UNSUBSCRIBE, email to
> [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>
__
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
[Q] Displaying large image with MemoryImageSource
Hi everybody, I had problems displaying a large image constructed from a
big buffer of int's using MemoryImageSource. The maximum size it can
display seems to be about 600x500. Anything bigger than that will just
give me a white window. I checked the buffer and is very sure that
there's valid data inside and also had tested it under Window95 and NT.
It works fine under the Windows.
The following is the code that I use: (buffer is about 1700x1200)
(Problem arises when width and height is over 600)
public construct_image() {
Constructing buffer and setting its values here.
..
image = createImage
(new MemoryImageSource
(width, height, buffer,
0, width));
.
}
public void paint (Graphics g) {
setBackground(Color.blue);
g.drawImage(image, 0, 0, this);
}
Any suggestions is greatly appreciated.
Chang-Cheng (Eric) Chao
Merlin Software Technologies Inc.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
How do I create a 1-bit depth graphics in memory?
Hi, I am currently trying to create a 1-bit depth graphics in memory. I do not need color capabilities, just black-and-white. I am using a buffer made up of integers but it is a waste of memory when I can use 1-bit for a pixel instead of 32-bits. What is the best way to do that? I need to switch to the more efficient way since Java complains OutOfMemory exception on large images Eric Chao [EMAIL PROTECTED] Merlin Software Technologies Inc. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java complains "Could not create Java VM"
Hi, Java complains " Unable to initialize threads: cannot find class java/lang/Thread Could not create Java VM" when I try to run Swing examples in the /usr/local/swing-1.1.1fcs/example The exact error message that I get is listed below: === [root@ SwingSet]# ./runnit /usr/local/jdk117_v3/bin/java -classpath .:/usr/local/swing-1.1.1fcs/swing.jar:/usr/local/swing-1.1.1fcs/motif.jar:/usr/local/swing-1.1.1fcs/multi.jar:/usr/local/swing-1.1.1fcs/windows.jar:/usr/local/swing-1.1.1fcs/mac.jar:SwingSet.jar:.:/usr/local/swing-1.1.1fcs/swingall.jar:/usr/local/swing-1.1.1fcs/motif.jar SwingSet Unable to initialize threads: cannot find class java/lang/Thread Could not create Java VM [root@ SwingSet]# pwd /usr/local/swing-1.1.1fcs/examples/SwingSet Thanks for any suggestions. Chang-Cheng (Eric) Chao [EMAIL PROTECTED] Merlin Software Technologies Inc. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Question
Hi, Firstly: applets CAn read and write files as through JDBC Secondly: you have to place the postgresql.jar file in your applet's home dir. gr. Eric --- James Seigel <[EMAIL PROTECTED]> wrote: > Check your applet tag for codebase tag > Check to make sure your datbase driver is available in > the directory where > your codebase is implied. > Make sure you database is on the same machine as the > applet is loaded > from. > > > 3 is for after you fix the first two. > > J > > Pooh Bear -- "I am just a bear of little brain" > > > On Thu, 4 Nov 1999, DD23 CCChang2 wrote: > > > > > > Dear Sirs: > > > I am junior JAVA programmer, one question need your > help. > > > I had RedHat Linux 6.0 with Java 1.2 SDK and > PostgreSQL database, > > > and my web server is Apache 1.3.6 version. > > > I had copy the postgresql.jar into > /jdk1.2/jre/lib/ext. > > > > > > then, I wrote an applet just query the data from > PostgreSql database, > > > and show the result on screen, then created the > test.html file, > > > and include the class , when I use appletviewer > test.html, I can see > > > the data everything is OK, > > > > > > but when I put the html on my web, then I can see the > applet area show > > > "Can't find Database Driver .. > postgresql.drive" > > > It's anything Linux envirounment setting error? > > > Tks! > > > > > > Jones Chang > > > > > > > > > > -- > > 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] > > __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Netscape and applets
Hi, Hotjava may solve the problem for the developer. The end user however wants it to run on Netscape or whatever. I'd personally like everyone running appletviewer but, alas! gr. Eric --- peter johnson <[EMAIL PROTECTED]> wrote: > Try HotJava. Since it is written in Java, it will run > anything the JVM from > your JDK will run. > > Paul Gearon wrote: > > > I have a strange problem with Netscape on my RH6.1 > system. > > > > I have a class called myapp.server.FrontEnd which > extends Applet > > (naturally). I have a reference to it in a .html file: > > HEIGHT=300> > > and it seems to work fine with appletviewer. However, > as soon as I load > > it with Netscape I get the following in the status bar: > > > > Applet myapp.server.FrontEnd exception: > java.lang.ClassCastException > > myapp.server.FrontEnd is not an applet > > > > I'm stumped. I've written other applets for use with > Netscape which > > have worked fine. Has anyone any suggestions as to > where I should look > > for a solution? > > > > Also, since I don't know if the problem is mine or > Netscape's, is there > > another browser out there for Linux which will run > applets? > > > > -- > > Regards, > > Paul > > > > Paul Gearon > > [EMAIL PROTECTED] > > > > Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad > caput tuum saxum > > immane > > mittam. > > (Translation from latin: "I have a catapult. Give me > all the money, or I > > will > > fling an enormous rock at your head.") > > > > > -- > > 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] > > __ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
[Q] problem with displaying image
Hi, everyone, I am currently writing a Java program that displays an image constructed from MemoryImageSource. I start out by displaying the "portrait" orientation of the image and have one button for the user to toggle between "portrait" and "landscape" orientation. The problem is that when the program starts out in "portrait" orientation, I cannot switch to "landscape". The only way I can display the image in "landscape" orientation is to start out the program by displaying using "landscape" orientation. Did anyone have this problem before? I'm using JDK 1.1.7 v3 (Black-down) under RedHat 6.0. Eric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Does clipping improves performance of graphics drawing?
Hi, I guess the subject says all. Does clipping a large image to a small clipping area improves performance of graphics drawing? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Question about printing in Jdk 1.1
I have an image that I wanted to print... This image is constructed using MemoryImageSource using an array of bytes, with each byte representing a pixel. I also have a DirectColorModal to translate the color in each pixel. image = createImage (new MemoryImageSource (d.width, d.height, dcm,/* Direct Color Model */ pixels, /* array of bytes */ 0, d.width) ); When I tried to print the image. I keep getting this error(listed below). But when I change the array of bytes to array of ints. It worked. But I do not want to store my data as ints when bytes works fine... So any ideas??? Error Message: Exception occurred during event dispatching: java.lang.ClassCastException: java.awt.image.DirectColorModel at sun.awt.motif.PSGraphics.blitImage(Compiled Code) at sun.awt.motif.PSGraphics.drawImage(Compiled Code) at MyCanvas.paint(Compiled Code) at MemoryImageSourceTest1.actionPerformed(Compiled Code) at java.awt.Button.processActionEvent(Compiled Code) at java.awt.Button.processEvent(Compiled Code) at java.awt.Component.dispatchEventImpl(Compiled Code) at java.awt.Component.dispatchEvent(Compiled Code) at java.awt.EventDispatchThread.run(Compiled Code) Chang-Cheng (Eric) Chao Merlin Software Technologies Inc. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
[Q] Licensing Rights
Hi, I need to package JRE 1.1.8 from IBM with my application as well as the "swingall.jar" from Sun. What are the terms of licensing agreements for these two programs?? Do I have to pay licensing fees for the use of JRE 1.1.8 and "swingall.jar"?? Thanks. Eric Chao [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
idltojava for linux
Hi, I've seen a lot of talk on the mailing list archives about the lack of idltojava for Linux. Several people suggest alternative idl compilers, but I have yet to find one that works for the idl I need to process here. I *can* use the NT version to do what I need, but I'd much prefer an all- Linux solution. How much work is involved in porting idltojava to run on Linux? Is it just a matter of tweaking some lex/yacc code (as someone suggested earlier)? Has anyone tried it? How would someone volunteer to help this process? -- ebm +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+ | Eric B. Mitchell mailto:[EMAIL PROTECTED] | | tel: (301) 809 - 3534Altair Aerospace Corporation | | tel: (800) 7 - ALTAIR4201 Northview Dr. Suite 410 | | fax: (301) 805 - 8122Bowie, MD 20716 | +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+ ,___ /"\ / o=\ /"""---===/ / \_/ \__/ ---===/ |//\ || /""TT""/ //\ || ||""\ | // \ |||| // \ || ||__/ | //--==\ |L--/ || //--==\ || || "=, \ ---===/ \---===/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable
Hi, I've got an error when I try to run my code (it create an image using Java2D) from telnet (by example), but not when I run it from X : Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:61) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Compiled Code) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Compiled Code) at java.awt.image.BufferedImage.createGraphics(Compiled Code) at BaroChart.AbstractBaroChart.(Compiled Code) at BaroChart.PieChart.(Compiled Code) at BaroChart.BaroChartFactory.Make(Compiled Code) at test_pie.main(Compiled Code) It's important for me because I want to produce images (charts) in batch mode and from my Web site (witch isn't connected to an X server...). I use Linux Debian 2.1 / blackdown JDK 1.2.0 (gclib 2.0). Do I need to configure X in a special way to do this ? Thank's Eric. ___ Eric SCHAEFFER [EMAIL PROTECTED] POSTER CONSEIL 118 rue de Tocqueville 75017 PARIS FRANCE Tel. : 33-140541058 Fax : 33-140541059 ___ -- 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]
idltojava on Linux - SOLUTION using WINE
Having beat up wine, idltojava.exe and so forth to do idltojava compiling without leaving the linux box, I figured I'd share the information. Feel free to include this in a FAQ. It Works For Me, Your Mileage May Vary. - To perform idltojava processing on Linux you will need: 1) A recent distribution of wine from http://www.winehq.com. Wine is a windows binary loader for Linux. It is capable of running a fair amount of Windows executables on Linux. 2) Something equivalent to the following in your ~/.winerc file. Substitute the path to your java development tools area for /opt/java if necessary. I keep all my java development tools under the /opt/java directory, e.g. /opt/java/jdk1.2.2, /opt/java/jikes, etc. [Drive J] Path=/opt/java Type=network Label=java Filesystem=win95 You should set up a similar network drive entry if your java source files are kept in a different directory tree. 3) Sun's idltojava utility for Win32 platforms. Download this from http://developer.java.sun.com/developer/earlyAccess/jdk12/idltojava.html Save the downloaded file as /opt/java/idltojava-ea-win32.exe Extract the archive by: wine /opt/java/idltojava-ea-win32.exe This will create a directory /opt/java/idltojava-win32, and store the executable and documentation in that directory. 4) To compile idl files using idltojava.exe: First, preprocess the idl using g++. Gcc might work, but I haven't tried it personally. Include any predefined symbols and include paths (e.g. -DSYMBOL -I/some/idl/include/dir) as "other options", below. The following line stores the output of the preprocessed file.idl as Jfile.idl: g++ -E [other options] - < file.idl > Jfile.idl Second, invoke idltojava.exe via wine. Include the option "-fno-cpp" to avoid invoking the preprocessor again. You may want to include the option "-fmap-included-files" to create java stubs/skeletons for interfaces which are included via #include directives in the idl file: wine /opt/java/idltojava-win32/idltojava.exe \ -fno-cpp -fmap-included-files Jfile.idl This creates a multitude of java source files. Last, depending on which ORB you are attempting to operate with, you may need to strip out the "IDL:omg.org" portion of the interface specifications in the java sources. This was required to interoperate with TAO (http://www.cs.wustl.edu/~schmidt/TAO.html). Basically, if you run into problems connecting to a server, try the following and see if it works: sed "s@IDL:omg.org/@IDL:@g" $file > $file.tmp ; mv $file.tmp $file You will need to do this for each .java file generated by idltojava. I use the following in my Makefile to perform processing via idltojava. The double quotes in the wine invokation are significant.. - IDLCPP = g++ IDLCPPOPTS = -E -DDEFINED_SYMBOL \ -I/include/path/to/any/included/idl/files WINE = /opt/wine/bin/wine IDLJAVA = /opt/java/idltojava-win32/idltojava.exe IDLJAVAOPTS = -fno-cpp -fmap-included-files FIX_JAVA = /opt/java/fix_java.sh FILEIDLJAVA = \ first___java_file_output_from_idltojava.java \ second__java_file_output_from_idltojava.java \ ... \ lastjava_file_output_from_idltojava.java $(FILEIDLJAVA): file.idl $(IDLCPP) $(IDLCPPOPTS) - < $< > J$< $(WINE) "$(IDLJAVA) $(IDLJAVAOPTS) J$<" $(FIX_JAVA) $(IPCIDLJAVA) - The following is fix_java.sh as referenced in the Makefile rule above: - #!/bin/sh for file in "$@"; do echo Fixing: $file sed "s@IDL:omg.org/@IDL:@g" $file > $file.tmp mv $file.tmp $file done - -- ebm +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+ | Eric B. Mitchell mailto:[EMAIL PROTECTED] | | tel: (301) 809 - 3534Altair Aerospace Corporation | | tel: (800) 7 - ALTAIR4201 Northview Dr. Suite 410 | | fax: (301) 805 - 8122Bowie, MD 20716 | +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+ ,___ /"\ / o=\ /"""---===/ / \_/ \__/ ---===/ |//\ || /""TT""/ //\ || ||""\ | // \ |||| // \ || ||__/ | //--==\ |L--/ || //--==\ || || "=, \ ---===/ \---===/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Problem with 1.3 and J2EE1.2.1
Hi,
A few days ago I installed on Debian 2.2 the j2sdk1.3 from the debian
file.
$ java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build
Blackdown-1.3.0-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.0-FCS, mixed mode)
I also JAVA_HOME set.
$ echo $JAVA_HOME
/usr/lib/j2sdk1.3
I was previously running 1.2.2 tarball from Sun and had no problems.
Here is the error (typed from dialog box) when I tried to deploy some
working apps.
There was a deployment error. java.rmi.ServerException: RemoteException
occured in server thread; nested exception is: java.rmi.RemoteException:
Error processing ejb jar: access denied (java.io.FilePermission
/usr/lib/j2re1.3/lib/ext read)
>From deploytool window
...
Remote message: Deploying Ejbs
Remote message: Processing beans
Remote message: Generating wrapper code for BankAccountEJB.
Remote message: Compiling wrapper code
No hints in server window.
I tried messing with the jre java.policy.
# cat java.policy
grant {
permission java.security.AllPermission;
};
No luck. The server.policy and client.policy for the J2EE both have
FilePermission for the ext dir.
Any help appreciated,
Eric
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Problem with 1.3 and J2EE1.2.1(solved)
Eric Richardson wrote:
>
> Hi,
> A few days ago I installed on Debian 2.2 the j2sdk1.3 from the debian
> file.
>
> $ java -version
> java version "1.3.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build
> Blackdown-1.3.0-FCS)
> Java HotSpot(TM) Client VM (build Blackdown-1.3.0-FCS, mixed mode)
>
> I also JAVA_HOME set.
> $ echo $JAVA_HOME
> /usr/lib/j2sdk1.3
>
> I was previously running 1.2.2 tarball from Sun and had no problems.
>
> Here is the error (typed from dialog box) when I tried to deploy some
> working apps.
>
> There was a deployment error. java.rmi.ServerException: RemoteException
> occured in server thread; nested exception is: java.rmi.RemoteException:
> Error processing ejb jar: access denied (java.io.FilePermission
> /usr/lib/j2re1.3/lib/ext read)
>
> >From deploytool window
> ...
> Remote message: Deploying Ejbs
> Remote message: Processing beans
> Remote message: Generating wrapper code for BankAccountEJB.
> Remote message: Compiling wrapper code
>
> No hints in server window.
>
> I tried messing with the jre java.policy.
> # cat java.policy
> grant {
> permission java.security.AllPermission;
> };
>
> No luck. The server.policy and client.policy for the J2EE both have
> FilePermission for the ext dir.
I added to the grant section of the server.policy for the J2EE.
grant {
...
permission java.security.FilePermission "<>", "read";
};
I tried file:${java.home)/lib/ext/- and various other variations to
narrow it down with no luck.
>
> Any help appreciated,
> Eric
>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Linux Java IDEs
Amol Kulkarni wrote: > > Hi, > I am also planning to move from vi to a java editor. Can any body > suggest it . pls give the links. > I need this for Red Hat linux 7.1 I think emacs or xemacs with JDE is a good solution. The trick is to have classpath set for your project before starting up so the compile with jde will work and also having the -d for the classes output dir set. I set an env var named CLASSES_DIR and then just set -d $CLASSES_DIR for the javac option. I also use ant for the build as well but ant is too slow to build one class. JDE http://jde.sunsite.dk/ Hope this helps, Eric -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Java/Linux dB's
We are waiting for your results > -Original Message- > From: Nick Davies [SMTP:[EMAIL PROTECTED]] > Sent: Monday, August 24, 1998 3:35 PM > To: Java-Linux Mailing list > Subject: Java/Linux dB's > > Many thanks for the rapid replies everyone (M$ tech. support are still > engaged ;)) > > For anyone who's interested I'll be running the tests on an AS400 > running > DB2, an Apricot P200 thing running WinNT(Access '97 and Paradox) and > PostgreSQL, following two recommendations and an excellent > price/performance > ratio ;) > > 'Bye > > Nick > > Presently giving up smoking and carrying round a BAD head.
RE: packages
Hello,
You said you have an editor "that makes life easier". What's that for?
Thanks for your answer.
-jec
> -Original Message-
> From: Michael Sinz [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, August 26, 1998 4:50 PM
> To: Kenny Freeman
> Cc: [EMAIL PROTECTED]
> Subject: re: packages
>
> On Wed, 26 Aug 1998 11:33:42 -0300 (ADT), Kenny Freeman wrote:
>
> >
> >> I personally am rather against most import statements as they can
> >> only help to confuse the issue of what you are looking at. Even
> worse
> >> is import of a whole package - since then you do not even see in
> the
> >> code all of the possible class names that just got defined...
> However,
> >> if used very rarely and only when really justified, they can help
> >> reduce the typing needed and not reduce the maintainability of the
> code.
> >>
> >> Sorry about that, but I have had to fix code where the top of the
> >> file had import .*; import .*; etc. Basically importing
> every
> >> package in the whole product - almost 30 lines of these - and then
> >> trying to figure out what the DataTrack class is and which one it
> used -
> >> since there was a different one in three different packages...
> >>
> >> BTW - This was only one person who did this in his souce - and his
> >> code was usually the code we had to fix. But he was a contractor
> and
> >> did not follow our coding standards.
> >
> >Well, that is still no real argument against packages. However the
> >.whatever packages were generated, there should have been a way
> to
> >make things a bit less cryptic. I couldn't imagine not being able to
> use
> >the import statement. Things like:
> > tmp = new ken.encryption.RSA.RSAMessageDigest()
> > tmp2 = new ken.util.file.FileReader("blah.txt")
> >get on my nerves pretty quick. People who make bad names for packages
> like
> > should keep there code to themselves. Well, thats my $ 0.02
>
> No, it names were not x. I just am not in a position to explain
> the
> names. The names were nice, but the imports where all of the type:
>
> import ORG.junk.foo.bar.*;
> import ORG.junk.blah.foo.*;
> import ORG.junk.blah.bar.*;
>
> etc. for about 30 lines...
>
> So, the code was importing classes that it never needed or used,
> it was importing conflicting classes, and it was very hard to
> maintain.
> (All of his source files started with the same set of lines but none
> of them used all of the classes...)
>
> I would have liked it if the import statement could *not* have "*"
> and thus you would have to:
>
> import ORG.junk.foo.bar.TimeTrack;
> etc.
>
> This way you would always have a true listing of what you have
> imported
> and from where. (The "*" just is a problem.)
>
> Personally, I never use that. I have an editor that makes life easier
> and I can type rather quickly, so I have fully qualified names on all
> classes that are outside of the package that the source is in. It
> also
> means that when I read the code I can see instantly what package the
> class
> came from.)
>
> Michael Sinz -- Director of Research & Development, NextBus Inc.
> mailto:[EMAIL PROTECTED] - http://www.nextbus.com
> My place on the web ---> http://www.users.fast.net/~michael_sinz
>
jdk-1.2 out of memory errors...
Hi there, I just installed the pre-release 1 of jdk1.2 on my system and as stated in the README included its bin directory in my PATH. But - even trying to run a simple HelloWorld fails with an OutOfMemory error (and I am somewhat certain that there is enough memory left [unless, 900MB free memory would be too little]): beh@fenun:~/src/j $ java HelloWorld *** panic: GC: getStickySystemClass failed: java/lang/ref/Reference CLASSPATH may be incorrect SIGABRT 6* abort (generated by abort(3) routine) stackpointer=0xb248 Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v1, native threads): "main" (TID:0x410f31e0, sys_thread_t:0x8143400, 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" (0x8143400) 1 entry Thread queue lock: owner "main" (0x8143400) 1 entry Dynamic loading lock: Monitor registry: owner "main" (0x8143400) 1 entry beh@fenun:~/src/j $ free total used free sharedbuffers cached Mem:517308 381284 136024 72700 115464 197192 -/+ buffers/cache: 68628 448680 Swap: 770504 0 770504 Also, what I find strange is the mentioning of a possibly incorrect CLASSPATH -- no CLASSPATH is set in the environment, and according to the README, that should be OK... Btw. trying "javac HelloWorld" yields the same OutOfMemory error (I still had an old .class file around to test the "java HelloWorld" with). I have a pretty current Debian/potato (glibc-2.1 setup) -- last dselect upgrade is 24h back, with a 2.2.5 kernel on a Dual P-II machine. Any clues? Benedikt ULTIMATUM, n. In diplomacy, a last demand before resorting to concessions. [Ambrose Bierce, "The Devil's Dictionary"] -- 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]
Re: We need change, I think...
On Wed, 18 Aug 1999 13:00:20 Gunnar Stahl wrote: >> > >maybe in the desktop area. And they knew that it was very usefull to create the >thought and feeling of a "java community". But the big heads at solaris >suddenly noticed that linux is becoming more and more stronger and that they >have to take care of it. And taking care of it means dropping their support for >linux while claiming to support it. Means stop developing java for linux. That >is the only way they can hurt linux. (Maybe the resign I don't think SUN itself is hostile to Linux. I think Java is the outcome of an idealistic view shared by some (and a funding company with commercial interests), the both of which clashed as always. Now Blackdown care about Linux, otherwise they wanted to get paid for this hercules-job they're doing. Blackdown do not respond to market stress (as far as I'm told, and they got some stuff to fix), and this is just, because they're not commercial. So the company wants to cash in short term and forgets about the long-term cash flow called Linux by not entering the Linux arena. This is Sun's prime mistake. Now IBM will grab their pretzels and eat 'em! HAH WILLIE! IBM's got powerful Net stuff on their OS/390 platform already. Soon as they port Linux, they'll port OS/390. They from that point in time have - 1. strongest on mid-range servers (linux) 2. strongest on JAVA and NET connection (Linux, AIX, and OS/39) and of course already serice the most part of coorperate data in the world on their MVS databases. This is the world according to I. 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]
[Q] CORBA: Any idltojava for linux??
Hi, I want to write some CORBA-compliant java programs and I need "idltojava" in order to convert the IDL files to Java files. I checked the Sun's website and I found versions for Sparc Solaris and Windows but none for Linux. Can anyone tell me where I can get it if there is indeed one available? Thanks. Chang-Cheng (Eric) Chao -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
