Re: regarding blackened menu item

2000-05-11 Thread Raj Patel
kamesh jayachandran wrote: > I have developed a gui in java, It works fine on windows but shows blackened > menu item when it is run under linux.I am not able to see whatever I typed in > the textfield ,it gets cluster of blackcharacters as one types in the > textfield.I have posted the same prob

segmentation fault!

2000-04-18 Thread Raj Patel
Hi all, I have a simple application that uses java AWT for GUI. I am finding this strange segmentation error! Can anyone tell me when can i get segmentation error? I thought i would not get segmentation error in java. I am using blackdown's JDK_1.2.2_RC4 on Redhat 6.1. I am not us

blackdown jdk version..libpthread.so

2000-01-21 Thread Raj Patel
Hi everybody, I had some problem with threading using JNI application and i decided to try newer version of jdk. I downloaded jdk1.2.2 for i386 rc3 version and file called jdk-1.2.2-RC3-linux-i386.tar.bz2 After i installed it when i tried to compile and run my applic

display setting with swing application

1999-12-07 Thread Raj Patel
Hi, I am running into strange problem. I have Redhat Linux6.0 and blackdownjdk 1.2. When i compile my java-swing-jni application it compiles fine but when i try to run it i get following errors! Exception in thread "main" java.lang.Error: can't load javax.swing.plaf.metal.MetalLookAndFe

java-swing-jni...debug

1999-11-17 Thread Raj Patel
Hi, I am struggling debugging java-swing-jni application. If i run my program using java command it runs fine but i need to debug my program using gdb and when i do that it hangs in gdb mode i tried to interrupt gdb and check the stack, Program received signal SIGINT, Interrupt. 0x401268

Re: blackdown jdk version

1999-11-15 Thread Raj Patel
.6 => /usr/X11R6/lib/libICE.so.6 (0x40fa1000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2000) Do you see anything looped wrong? I can run debugger if i don't pre load shared library!! still i am not able to stop debugger at proper place. I tried Stop at class:lineno at gdb prompt to s

Re: blackdown jdk version

1999-11-12 Thread Raj Patel
ce file named netif.cc. (gdb) What am i missing?? -Raj > > 5) Run the program... be sure to specify the command-line args for java > 6) When you hit the breakpoint in main(), set a breakpoint in your >JNI code > 7) Continue execution; gdb will stop when it hits your breakpoint. &

Re: blackdown jdk version

1999-11-12 Thread Raj Patel
Nathan Meyers wrote: > I think you didn't get an answer because, in general, people are > successfully using Swing and JNI with the JDK1.2 and nobody recognized > your problem. Thanks for the response. I found the problem. Now i have some trouble in native calls. I have Redhat Linux 6.0 with

blackdown jdk version

1999-11-12 Thread Raj Patel
Hi, I am putting this problem here one more time. I have a swing application using JNI. Everything was working ok under blackdown jdk 1.1.7 with swing-1.1.1 . Now i upgraded jdk to jdk 1.2(blackdown) so i don't have to have swing because it is already built in. But now under jdk1.2 my

installation??

1999-11-09 Thread Raj Patel
Hi, I just posted the question regarding jdk1.2pre-v2. I think it's more of a installation problem. After installing jdk1.2pre-v2 and setting PATH to bin directory when i tried javac command i got following error, black:rpatel% javac *** panic: GC: getStickySystemClass failed: java/lan

jdk version

1999-11-09 Thread Raj Patel
Hi, I am having few troubles using jdk1.2pre-v2(glib2.0) on Redhat Linux 6.0. I used jdk1.1.7 with swing module (Redhat Linus 5.2) for my swing application which is using JNI. Now after installing jdk1.2pre-v2(glib2.0) application complains about swing classes during compilation as, Fs

jdk version

1999-11-08 Thread Raj Patel
Hi everybody, I have a java-swing application that runs fine with jdk117_v3 but now i need to compile and run under jdk1.2 pre-v2 and it gives runtime Exception under jdk1.2 as follows, Exception occurred during event dispatching: java.lang.IndexOutOfBoundsException: -

dbx

1999-10-22 Thread Raj Patel
Hi everybody, I am trying to debugg my native methods that are attached by JNI. I am trying to use dbx on my linux box but when i set my environment variable to dbx(setenv DEBUG_PROG dbx) and tried to run java it complained that exec: dbx: not found Does anybody have

Debugging-C++ code attached by JNI

1999-10-22 Thread Raj Patel
Hi, I am running into the situation where i need to debugg my c++ code that is attached by jni. Does anybody can help how can i debugg my c++ code?? Main application is in java-swing. -raj -- To UNSUBSCRIBE, email to [E

Installation..

1999-09-21 Thread Raj Patel
Hi, I am running Linux Redhat 5.2. I just downloaded jdk1.2pre-v2.tar.bz2. Is that the suitable latest version? Can i get installation instruction? begin: vcard fn: Rajesh Patel n: Patel;Rajesh org:Lockheed Martin Information Systems adr

Re: JNI-Linking/loading .so objects used by c code

1999-01-03 Thread Raj Patel
e > > Now when you ldd libmyjni.so it should show a dependency on libmyroutine.so > I already have added the way you suggested but it's not finding it and just hangs there when it needs to go to that .so object required by C++ code -raj > > -K > > > -Original

JNI-Linking/loading .so objects used by c code

1999-01-03 Thread Raj Patel
Hi everybody, I am having trouble linking/loading *.so objects that are used by my C++ code. Does anybody know how should i load them?? I have a java program and a C++ file. Using JNI i created .so object and loaded using loadLibrary() in my java program. Now the pr