Re: Problem setting memory options

2007-04-11 Thread POWER architecture PowerPC
The option "-Xss" is setting the stack size to 5GB. Is this your intention? Have you tried setting "-Xms" ? > > >* From: Soumyadeep nandi ><[EMAIL PROTECTED]> >* Subject: Problem setting memory options >* Date: Thu, 5 Apr 2007 01:05:21 -0700 (PDT) > Hi, I am running an application on

Re: problem running java

2004-08-13 Thread Thelma Barry
Hi, When I run ls -l bin/ I get the following: /j2re1.3.1 # ls -l bin/ -rw---1 root root 411 Aug 10 09:40 HelloWorld.class -rw---1 root root 135 Aug 10 09:39 HelloWorld.java drwxr-xr-x4 root root0 Aug 8 16:21 armv4l lrwxrwxrwx1 ro

Re: problem running java

2004-08-12 Thread Steffen Hitschke
Hey, On Wed, Aug 11, 2004 at 02:57:22PM +0100, Thelma Barry wrote: > Hi, > I modified that script but still no luck, I'm getting > the same error. I've run the commands > cd /j2re1.3.1 > ln -s bin/armv4l bin/armv5tel > ln -s lib/armv4l lib/armv5tel With a 'ls -l bin/' you should see what i

RE: problem running java

2004-08-10 Thread McCoig, Kenneth
Title: problem running java Thelma- I had the same problem and tried what you did also. What I did to get it working was open the .javawrapper file (i thinks its in the bin dir) and modify the script. You will see a few lines towards the begining where it trys to determine which arm versi

Re: problem of java swing/awt on ipaq

2002-03-27 Thread Juergen Kreileder
xuguang chen <[EMAIL PROTECTED]> writes: > Hi everyone, I installed familiar 0.5.1 and Blackdown on my > ipaq,h3850,but I just installed familiar basic, not any GUI.Then I > try to run a java program which contains a swing interface.My ipaq > gives the following error message. did you install xl

Re: Problem using Swing with ARM JRE

2001-11-07 Thread Larry Arnold
I ran into similar problems on a slightly different platform ( an assabet-like strongarm with a redhat based distro) I believe you need a link in /usr/lib: libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so obtaining libstdc++-3-libc6.2-2-2.10.0.so was the difficult part. I had very lit

Re: problem with javac

2001-09-04 Thread Erik
Jimi, Are you sure you installed the right version of java for Redhat 7? Which package did you install? On Tue, 4 Sep 2001, jimi shah wrote: > Dear friends, >I have installed java on redhat linux 7. >But when i tried to compile .java file with > javac, it gives following error: > > jav

Re: Problem with Java3D

2001-08-01 Thread Kevin Birch
Is there maybe an incompatability between Mesa 3.5's libraries and the version that was used to compile Java3D 1.2.1_01-fcs? Is there any way for me to get a copy of the source of Java3D? Kevin Kevin Birch wrote: > Hello all, > > I'm getting the following error when running any of the Java3D

Re: Problem with 1.3 and J2EE1.2.1(solved)

2001-06-28 Thread Eric Richardson
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, mixe

Re: Problem with nvidia driver 1.0 in linux (redhat 7.1) (fwd)

2001-05-23 Thread Juergen Kreileder
On Sun, 20 May 2001, Michael Walton wrote: > -- Forwarded message -- > Date: Sun, 20 May 2001 01:01:55 -0400 (EDT) > From: Michael Walton <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Problem with nvidia driver 1.0 in linux (redhat 7.1) > > Hi, > I am new to this list

Re: problem typing special keys

2001-05-15 Thread Joi Ellis
On Mon, 14 May 2001, Jost Schenck wrote: > Hi, > I've not found this problem in the archives and in the FAQ as well as the > RedHat support database. If I'm missing something and this has been answered > before, please forgive me. I'm currently using RedHat-7.0, with jdk 1.3.0. > > The problem i

Re: Problem with server sockets

2001-04-30 Thread kevin1
Ok , I can't really wait for that to come out :( Any tips on using maybe JNI to set that sockopt? (SO_REUSEADDR) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Problem with server sockets

2001-04-29 Thread kevin1
First I must say thanks all for the help! In this problem, I really would like to re-use the connections. Is it possible to set SO_REUSEADDR for a server socket in Java? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] wi

Re: Problem with server sockets

2001-04-28 Thread Alexander V. Konstantinou
Kevin, I just remembered that I run into the same problem when using Sun JDK1.2.2_006. Switching to JDK 1.3 fixed the problem. Apperently 1.2.2_006 was not closing the underlying Linux sockets correctly. Alexander -- To UNSUB

Re: Problem with server sockets

2001-04-27 Thread Alexander V. Konstantinou
> 1. I'm assuming you are "NULL"ing the used sockets, so they get garbage > collected? You should not rely on garbage collection for scarce resources such as file and socket handles. Make sure you invoke socket.close() when you're done. Since you're working with threads, it is possible th

Re: Problem with server sockets

2001-04-27 Thread kevin1
Thanks a lot for the help. I'm wondering what is the downside of setting fd_max to some huge number... Is there one? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PRO

Re: Problem with server sockets

2001-04-27 Thread Nathan Meyers
Kevin, You probably need to use the Socket.setSoLinger() call. Nathan On Fri, Apr 27, 2001 at 09:59:57AM -0400, kevin1 wrote: > Hello all, > I am somewhat new to java, and I am having a problem with a server app that >I w > rote. > What is happening is that for each connection to th

Re: Problem with server sockets

2001-04-27 Thread Nicholas Wright
Hi > I am somewhat new to java, and I am having a problem with a > server app that I wrote. > What is happening is that for each connection to the server, it returns a > Socket and continues the conversation. This is fine. The socket does > some simple tasks and then I close it.

Re: Problem with J2SDK 1.3

2001-01-16 Thread Juergen Kreileder
> "Alin" == Alin Cosmanescu <[EMAIL PROTECTED]> writes: Alin> I hate for my first submission to a list be a problem with Alin> the very thing the list is discussing but, i have a problem. Alin> I downloaded j2sdk-1.3.0-FCS-linux-i386.tar.bz2 Alin> I decompressed it, I un-tarr

Re: Problem with liphpi.so on JDK1.3 + RedHat 6.0

2001-01-04 Thread Erik Erskine
> > You need to upgrade your glibc, to 2.1.3 or 2.2. Thanks, it works fine now. Erik /\ | Erik Erskine [EMAIL PROTECTED] | | Sundayta Ltd

Re: Problem with liphpi.so on JDK1.3 + RedHat 6.0

2001-01-02 Thread Bryce McKinlay
Erik Erskine wrote: > I am having problems starting up java 1.3 on a Cobalt raq3 (Redhat 6.0, > 2.2 kernel). This applies to both IBM and Sun versions. Java 1.2 works > fine. > > The exact error message I get when running "java ..." is: > > Unable to load /opt/IBMJava2-13/jre/bin/libhpi.so: sym

Re: problem with jni lib

2000-11-02 Thread kason wong
I used g++ instead of gcc now and it seems the error is fixed. thanks for your help. l learned a lot about library files now. Cheers, Kason Joi Ellis wrote: > On Tue, 31 Oct 2000, kason wong wrote: > > > Hi, > > > > I guess I know what's the really problem is. > > > > I think I should make my p

Re: problem with jni lib

2000-10-31 Thread Joi Ellis
On Tue, 31 Oct 2000, kason wong wrote: > Hi, > > I guess I know what's the really problem is. > > I think I should make my problem more clear. I used to use libutil.a libpthread.a >libcops.a to make ReqMsg.cxx executable. now I want to use COPS.cxx and > .h files (JNI layers) to link a java

Re: problem with jni lib

2000-10-31 Thread Joi Ellis
On Tue, 31 Oct 2000, kason wong wrote: > Hi, > > I get another problem when i ran the java program with jni calling c++ program. > Is it the bug of green thread? See Liang's JNI book, page 141. It discusses the evils of mixing thread models. Liang doesn't mention Linux specifically here, but

Re: problem with jni lib

2000-10-31 Thread kason wong
Hi, I guess I know what's the really problem is. I think I should make my problem more clear. I used to use libutil.a libpthread.a libcops.a to make ReqMsg.cxx executable. now I want to use COPS.cxx and .h files (JNI layers) to link a java program to call ReqMsg. so I modified a little of yo

Re: problem with jni lib

2000-10-31 Thread kason wong
Hi, I get another problem when i ran the java program with jni calling c++ program. Is it the bug of green thread? method unknown (eip = 400dc51b) SIGSEGV 11* segmentation violation si_signo [11]: SIGSEGV 11* segmentation violation si_errno [0]: Success si_code [0]: SI_USER [pi

Re: problem with jni lib

2000-10-30 Thread Joi Ellis
On Mon, 30 Oct 2000, kason wong wrote: > I guess I finally understand. but i still have problem in compiling one lib: >libutil.so which > used the libpthread.a lib in c. I try to convert libpthread.a to .so, it seems >strange but > when i load it: > > ld -shared -o libpthread.so --whole-archiv

Re: problem with jni lib

2000-10-30 Thread kason wong
I guess I finally understand. but i still have problem in compiling one lib: libutil.so which used the libpthread.a lib in c. I try to convert libpthread.a to .so, it seems strange but when i load it: ld -shared -o libpthread.so --whole-archive /local/usr/lib/libpthread.a ldd -r libpthread.so

Re: problem with jni lib

2000-10-30 Thread Joi Ellis
On Mon, 30 Oct 2000, kason wong wrote: > Hi, > > thanks, but I still have some problem when i tried to compile all lib into a static >lib. > > g++ -o libCOPS.a COPS.o -L/home/kwong/thesis/codes/lib -lcops -lutil -lpthread > /usr/lib/crt1.o: In function `_start': > /usr/lib/crt1.o(.text+0x18):

Re: problem with jni lib

2000-10-30 Thread kason wong
Hi, thanks, but I still have some problem when i tried to compile all lib into a static lib. g++ -o libCOPS.a COPS.o -L/home/kwong/thesis/codes/lib -lcops -lutil -lpthread /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x18): undefined reference to `main' collect2: ld returned 1

Re: problem with jni lib

2000-10-29 Thread Joi Ellis
On Sun, 29 Oct 2000, kason wong wrote: > Hi, > > Can i load more than one library in jni? I have 4 lib used in my program: > System.loadLibrary("pthread"); > System.loadLibrary("util"); > System.loadLibrary("cops"); > System.loadLibrary("COPS"); > > and i 've got this error msg when i run m

Re: problem with jni lib

2000-10-29 Thread kason wong
Hi, Can i load more than one library in jni? I have 4 lib used in my program: System.loadLibrary("pthread"); System.loadLibrary("util"); System.loadLibrary("cops"); System.loadLibrary("COPS"); and i 've got this error msg when i run my program Exception in thread "main" java.lang.Unsatisfied

Re: problem with jni lib

2000-10-29 Thread Joi Ellis
On Sun, 29 Oct 2000, kason wong wrote: > hi, > > I'm not sure this is the mail-list i should send my question. please > let me know if I've got the right place. > > my problem is in the compiling a function in c++ to a .so lib file. the > case is I use a couple static .a lib in that c++ progra

Re: Problem with Listeners

2000-10-06 Thread Joi Ellis
Alexander Hordt wrote: > > Hello everything together! > I have a problem with the monitoring of internal messages of > components, which were added to a TabPanel. > The problem is: I have a class, which processes all my user > INTERFACES. Those are TextFields, Choices etc.. Some of it have I in a

Re: Problem Connecting between applet and servlet

2000-05-25 Thread Peter Pilgrim
I would say your problem is getting the web page to update from a applet. This is a nonsense because you will force the enitre applet to also reload as the web page reload!! But if you use frames then you need to force the applet to display the web frame after invoking the servlet. I don't think

Re: Problem with JNI

2000-03-31 Thread Artur Biesiadowski
Natarajan SK wrote: > The relevent code is something like this. > >Class Conn code segment: >Print.printl("About to create message"); >Message message = new >Message( msginde

Re: Problem with RedHat 6.1

2000-03-18 Thread Riyad Kalla
Redhat 5.2 is glibc2.0 based Redhat 6.1 is glibc2.1.2 based, you need to update to 1.1.7_v3 or 1.1.8 for a 1.1 JDK or 1.2 JDK for Java to work on your system. -Riyad On Sat, 18 Mar 2000, Carlos Vinueza M. wrote: > I updated our RedHat OS from 5.2 to 6.1 and now mylackdown's jvm doésnt > work, wh

Re: Problem with exec() on BlackDown 1.1.8 v1 and RH6.1

2000-03-17 Thread allen petersen
if i were smart, i would try out your source code example before sending a response to the list. but laziness wins again, so... you might try adding '.' to your path. i've had some problems before with exec() and relative paths--in a unix shell, './a.out' will work even if '.' isn't in your p

Re: problem with jdk1.2.2 for Linux

2000-03-17 Thread Riyad Kalla
Did you include /usr/bin/jdk1.2.2/bin in your path at the very front of it? a la: export PATH=/usr/bin/jdk1.2.2/bin:$PATH On Fri, 17 Mar 2000, [EMAIL PROTECTED] wrote: > I installed jdk1_2_2 on a Linux PC, but when I try compiling with javac, the >following message comes: > > > > /usr/bin/j

Re: Problem with exec() on BlackDown 1.1.8 v1 and RH6.1

2000-03-17 Thread Dimitrios Vyzovitis
[EMAIL PROTECTED] wrote: > Thank you very much for everyone responding to my original question. > I did try to use exec("./a.out") in the java application but still get > exception like:/mnt/e/Linux/java/proc/One>java communicate > got e after try exec() > java.io.IOException: ./a.out: not found

Re: Problem with exec()

2000-01-14 Thread Peter Pilgrim
[EMAIL PROTECTED] wrote: > > > Dimitris Terzis wrote: > > > > Hi guys... > > > > I am trying to launch an external application from my Java program, > > using exec(). > > > > I do Runtime.getCurrentRuntime() and then try to exec() the > > application (not internal command), providing a properly

Re: Problem with exec()

2000-01-13 Thread Nathan Meyers
> Dimitris Terzis wrote: > > Hi guys... > > I am trying to launch an external application from my Java program, > using exec(). > > I do Runtime.getCurrentRuntime() and then try to exec() the > application (not internal command), providing a properly created path. > My application has a GUI whi

Re: Problem with exec()

2000-01-13 Thread Scott Murray
> Dimitris Terzis wrote: > > Hi guys... > > I am trying to launch an external application from my Java program, > using exec(). > > I do Runtime.getCurrentRuntime() and then try to exec() the > application (not internal command), providing a properly created path. > My application has a GUI whi

Re: Problem with JNI

2000-01-05 Thread Ekkehard Kraemer
Hallo Pierre, PHr>Does anybody know where is the error ? Did you specify a package for your java file? If you did, then you must call javah appropriately. MbG, Ekkehard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a sub

Re: Problem with JNI

2000-01-05 Thread Pierre Héroux
I have fixed my problem. I forgot to include the Native.h file produced by javah which includes the extern "C". Pierre. Mark Delafranier wrote: > You will probably have to extern "C" the code in your C++ library. JNI uses C > calling conventions. > > Mark > > I hava a problem with JNI. > I use

Re: Problem with JNI

2000-01-05 Thread Mark Delafranier
You will probably have to extern "C" the code in your C++ library. JNI uses C calling conventions. Mark Pierre Héroux <[EMAIL PROTECTED]> on 01/05/2000 03:47:12 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Mark Delafranier/SYBASE) Subject: Problem with JNI

Re: Problem with JNI

2000-01-05 Thread Weiqi Gao
Pierre Héroux wrote: > > I hava a problem with JNI. > I use RedHat 6.1 and jdk1.2.2. > > The following code doesn't work > > public class Native { > static { > System.loadLibrary("Native"); > System.out.println("The Library is loaded..."); > } > > public Native() {} > > publ

Re: Problem in running Jdk1.2.2rc2 Demo on redhat 6.1

1999-11-30 Thread Paolo Ciccone
On Tue, Nov 30, 1999 at 02:45:52PM -, John Louis wrote: > Hi, > I try to run the SimpleExample, it give me these error: > > 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.X11Graph

Re: Problem in running Jdk1.2.2rc2 Demo on redhat 6.1

1999-11-30 Thread Justin Lee
> John Louis wrote: > > Hi, > I try to run the SimpleExample, it give me these error: > > 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 M

Re: Problem in running Jdk1.2.2rc2 Demo on redhat 6.1

1999-11-30 Thread Ingo Rockel
On Tue, 30 Nov 1999, John Louis wrote: > Hi, > I try to run the SimpleExample, it give me these error: > > 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.initD

Re: Problem with Native Thread under jdk1.2.2 RC2

1999-11-29 Thread Brian Pomerantz
On Mon, Nov 29, 1999 at 05:30:17PM -0500, Jacob Nikom wrote: > Was HotSpot ported to Linux? > If it has been, it shouldn't manifest itself until JDK1.3. BAPper -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: Problem with Native Thread under jdk1.2.2 RC2

1999-11-29 Thread Jacob Nikom
Was HotSpot ported to Linux? Jacob Nikom Andy Choi wrote: > > Hi all, > > I have got a problem using native thread and hotspot with rc2. When i > try to run java, it would gives me the following messages. > > /usr/local/jdk1.2.2/bin/i386/native_threads/java: error in loading > shared librari

Re: Problem making an instant of a class.

1999-10-03 Thread alx
On Sun, 3 Oct 1999, Vartan Piroumian wrote: > Your handler should not extend Frame, only implement ActionListener. That's more of a design issue, not a code correctness issue, don't you think? Although I would agree with you. > > setVisible(). But nothing happens. What am I missing? I would

Re: Problem making an instant of a class.

1999-10-03 Thread Wayne
Weiqi Gao wrote: > Wayne wrote: > > > > Hello, > > I have looked thru all my java books looking for an answer to my > > problem, but I'am not not able to find a solution. So, I thought > > I ask the group. > > > > I hava a class A that extends Frame and contains the main() method. > > In this cla

Re: Problem making an instant of a class.

1999-10-03 Thread Weiqi Gao
Wayne wrote: > > Hello, > I have looked thru all my java books looking for an answer to my > problem, but I'am not not able to find a solution. So, I thought > I ask the group. > > I hava a class A that extends Frame and contains the main() method. > In this class I have several Button component

Re: [Problem with JNI_CreateJavaVM()]

1999-09-21 Thread Juergen Kreileder
> Ted Neward writes: Ted> Pierre, I'm running RH5.2 and Blackdown 1.2-pre-v2, and the Ted> code compiled (I had to add the "-I" include directives, Ted> though--your g++ command-line below was missing those, but Ted> that would yield a compile-time error, and not a run-time

Re: [Problem with JNI_CreateJavaVM()]

1999-09-20 Thread Ted Neward
don't even speak for myself; my wife won't let me." --Me -Original Message- From: William D.Webb <[EMAIL PROTECTED]> To: Pierre Heroux <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Monday, September 20, 1999 12:27 PM Subject: Re: [Prob

Re: Problem with JNI_CreateJavaVM()

1999-09-20 Thread Juergen Kreileder
> Pierre Heroux writes: Pierre> I have a "Segmentation fault (core dumped)" message when I Pierre> execute the following source. Pierre> jint res = JNI_CreateJavaVM(&jvm, (void **)&env, &vm_args); /*debugger Pierre> message : Program received signal SIGSEGV, Segmentation fa

Re: Problem with JNI_CreateJavaVM()

1999-09-20 Thread jools enticknap
Hi Add the JNIGetDefaultJavaVMInitArgs, plus you need to add your class path to vm_args.classpath I have a C++ class which does all this for you, email me off list and I'll send it to you. Regards --Jools >From: Pierre Heroux <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Problem

Re: [Problem with JNI_CreateJavaVM()]

1999-09-20 Thread William D.Webb
Dude, you want us to write the code for you as well?? Pierre Heroux <[EMAIL PROTECTED]> wrote: > I have a "Segmentation fault (core dumped)" message when I execute the > following source. > > #include > #include > > int main() > { > const int nOpts = 4; > JavaVMOption options[nOpts]; >

Re: Problem with Fonts

1999-09-20 Thread Doug Fort
I got this when I installed as root: my userid didn't have permissions on .../jre/lib/fonts. When I straightened out the permisions, I started seeing text on my components. (This is mentioned somewhere in the FAQ or known errors). On Mon, 20 Sep 1999, Vartan Piroumian wrote: > Hi folks, > > Su

Re: Problem with installing JDK on Red Hat 6.0

1999-09-08 Thread Jeff Sider
i have gotten this message and it was the result of having JDK1.1 on my path and it was hitting there first. also, remove any references to 1.1 in CLASSPATH. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Jeff Sider[EMAIL PROTECTED] Sen

Re: Problem Loading Images

1999-08-22 Thread Timothy Parthemore
Well,       I changed it to 16bpp and now it "seems" to be working fine. Most excellent!  Of course I would like it to run at a better color depth, but I'll take what I can get.       Tim

Re: Problem when using 1.2

1999-08-17 Thread Moses DeJong
On Tue, 17 Aug 1999, Robert Perry wrote: > This sounds like a reasonable plan. I'll try it. Thank you. > > I'm happy to see a member of the JBuilder Development Team reading this list. > > Paolo Ciccone wrote: > > > On Tue, Aug 17, 1999 at 01:12:26PM -0400, Robert Perry wrote: > > >

Re: Problem when using 1.2

1999-08-17 Thread Robert Perry
This sounds like a reasonable plan. I'll try it. Thank you. I'm happy to see a member of the JBuilder Development Team reading this list. Paolo Ciccone wrote: > On Tue, Aug 17, 1999 at 01:12:26PM -0400, Robert Perry wrote: > > > > Speaking of Layout Manager problems. Is it just m

Re: Problem when using 1.2

1999-08-17 Thread Robert Perry
I would like to thank everyone for there suggestions. However, I found changing window managers did the trick. I stumbled across this when I decided to let the Java application which was running on a Linux box across the building display on my O2 which was setting on my desk. (my laptop was

Re: problem with jdk 1.2: libhpi.so

1999-07-05 Thread Juergen Kreileder
> Thierry BARUSTA writes: Thierry> I have downloaded the pre v2 version of jdk 1.2 for glibc Thierry> 2.1. My disribution of linux is the Suse 6.1. The only Thierry> thing I have done is to add the jdk1.2/bin directory to Thierry> the path. when I run java or javac, I get the

Re: Problem in running RMI server : JDK1.2v2 / RH6.0 / glibc2.1

1999-06-25 Thread Anonymous
I don't see why you need a security manager at the server end. (The server may want to check its clients, but that seems to be another issue entirely). I don't set a security manager at the server, and therefore get the default security manager - i.e null, so the server can do anything. See docs/

Re: Problem in running RMI server : JDK1.2v2 / RH6.0 / glibc2.1

1999-06-25 Thread Anonymous
Actually, you need to set the security manager at both ends. The tricky part to all of this, which the RMI docs I've seen don't explain, is that you have to have a .java.policy file in your home directory granting permissions to the "untrusted" codebase (any code that's not in the bootstrap classp

Re: Problem in running RMI server : JDK1.2v2 / RH6.0 / glibc2.1

1999-06-25 Thread Anonymous
Nelson Minar wrote: > >> I ran the same piece of code on jdk1.1.6 in linux, and on jdk1.2 in > >> NT. But the behaviour is quite different. In both cases the server > >> and the client waits. Is it a porting problem or a feature? > >Well, you've got me beat now! I've never seen rebind() wait on a

Re: Problem in running RMI server : JDK1.2v2 / RH6.0 / glibc2.1

1999-06-25 Thread Anonymous
>> I ran the same piece of code on jdk1.1.6 in linux, and on jdk1.2 in >> NT. But the behaviour is quite different. In both cases the server >> and the client waits. Is it a porting problem or a feature? >Well, you've got me beat now! I've never seen rebind() wait on any OS >or any JDK !! I have.

Re: Problem in running RMI server : JDK1.2v2 / RH6.0 / glibc2.1

1999-06-25 Thread Anonymous
Hi, Well, you've got me beat now! I've never seen rebind() wait on any OS or any JDK !! Nick. Pratip Kar wrote: > Hi Nick, > > Thanks again. Your suggestion worked. Is it due to the green-thread implementation ? > I guess, here the server is spawning a new thread and coming out. Even in the cl

Re: Problem in running RMI server : JDK1.2v2 / RH6.0 / glibc2.1

1999-06-25 Thread Anonymous
You have no methods in the interface ITTestRMI. There is nothing to do, so maybe the server is "smart enough" to terminate. Normally one defines one or more methods in the remote interface, then they are implemented in the server and then called by the clients. ... larry Pratip Kar wrote: > >

Re: Problem in running RMI server : JDK1.2v2 / RH6.0 / glibc2.1

1999-06-25 Thread Anonymous
Hi, Two points: (1) You shouldn't exit main() ! One way is just to sleep forever. Another way is to wait for stdin after the rebind(), something like: LineNumberReader in = new LineNumberReader( new InputStreamReader( System.in )); while( true ) { try {

Re: Problem in running RMI server : JDK1.2v2 / RH6.0 / glibc2.1

1999-06-25 Thread Anonymous
Hi, Thanks for your reply. This is the code snippet for my server. public class TestRMI extends UnicastRemoteObject implements ITestRMI { public static void main(String args[]) { System.setSecurityManager(new RMISecurityManager() ); try

Re: problem with compiling JMF - missing header files

1999-06-11 Thread SHUDO Kazuyuki
Hi, > I am trying to compile the Java Media Framework sources on linux > against the jdk 1.2 from blackdown. I am running into problems > because the sources try to include header files (which come as > part of the jdk on a solaris box) but which are missing from > the include directory in the

Re: Problem running Java3D

1999-06-11 Thread Jeff Galyan
Maybe the porting team can experiment with linking against libGL.so (when you follow the Mesa installation instructions, or if you install from an RPM, you'll have libGL.so symlinked to libMesaGL.so.x). Hopefully there won't be any problems with the loader barfing on the symlink. PS: Most Linux u

Re: Problem running Java3D

1999-06-10 Thread Denis Riedijk
On Thu, 10 Jun 1999, Francisco Figueirido wrote: >I downloaded the Java3D port but was unable to get it running. One of the >shared libraries needs libMesaGL.so.3.? (forgot the number), but I have >the Xi Graphics OpenGL port instead. After making the appropriate symbolic >links (libMesaGL.so.3.?

Re: Problem with downloading 1.2 pre-release

1999-06-08 Thread Nathan Meyers
Jacob Nikom wrote: > > Hi, > > My name is Jacob Nikom. I tried to download JDK 1.2 for Linux and got > some problems with java files. I got very strange content of the /jdk1.2/bin > directory:... > > As you see all files point to the .java_wrapper file which does not exist. Try "ls -la". Files

Re: Problem with downloading 1.2 pre-release

1999-06-08 Thread Jim Jensen
Check the information at http://www.blackdown.org/java-linux/jdk1.2-status/jdk1.2-status.html The archive you downloaded is just debug versions - you probably want: jdk1.2pre-v2.tar.bz2 -Jim Jensen[EMAIL PROTECTED] -

Re: problem with jdk-1.1.7

1999-06-08 Thread Javier Bolaños Molina
Ratkai Peter wrote: > HI there, > > I have downloaded and instaled JDK 1.1.7, Version 1a. After setting the > PATH variable, and issuing the command `java` it segfaults. > I'm not a java guru, especially this is the first time installing java on > linux. I have a glibc system, and also have libc-

Re: problem with jdk-1.1.7

1999-06-08 Thread Michael Sinz
On Tue, 8 Jun 1999 12:02:29 +0200 (CEST), Ratkai Peter wrote: >HI there, > >I have downloaded and instaled JDK 1.1.7, Version 1a. After setting the >PATH variable, and issuing the command `java` it segfaults. >I'm not a java guru, especially this is the first time installing java on >linux. I hav

Re: Problem with jdk117_v1a

1999-05-28 Thread Jan-Henrik Haukeland
Michael Sinz <[EMAIL PROTECTED]> writes: > jsdboer wrote: > > I've just installed red hat linux v60 from the bottom. After that I've > > installed jdk117_v1a. > > When I start java or javac I get the following error message: > > ./../bin/i686/green_threads/java: error in loading hsared libraries

Re: Problem with jdk117_v1a

1999-05-27 Thread Michael Sinz
jsdboer wrote: > > Hi, > > I've just installed red hat linux v60 from the bottom. After that I've > installed jdk117_v1a. > When I start java or javac I get the following error message: > ./../bin/i686/green_threads/java: error in loading hsared libraries: > ./../bin/i686/green_threads/libjava.s

Re: Problem with fonts (Font specified in font.properties not found )

1999-05-22 Thread nmeyers
This is discussed in the mail archives and maybe even the FAQ. If you're not using the Zapf Dingbat fonts, it's nothing to lose sleep over. Nathan > Stephen Lohning wrote: > > > I am having trouble getting java 2 running on my redhat 5.2 PC(386) > > system. > > bash$ javac SimpleExample.java >

Re: Problem with fonts (Font specified in font.properties not found )

1999-05-22 Thread Clayton Cottingham
Stephen Lohning wrote: > I am having trouble getting java 2 running on my redhat 5.2 PC(386) > system. > bash$ javac SimpleExample.java > bash$ ls > SimpleExample$1.class SimpleExample.class > SimpleExample$RadioListener.class SimpleExample.java > bash$ java SimpleExample > Font spe

Re: Problem: can't run jdk1.2 under RedHat6.0

1999-05-21 Thread Michael Nielsen
Emilian URSU wrote: > > Hi, > > I had this problem to I read somewhere that RH6.0 doesn't support > native_threads so I set my DEFAULT_THREADS_FLAG=green in my .java_wrapper > I fixed this problem but I've got another one. > Try on your system and tell me if it worked. > > On Wed, 19 May 1999,

Re: Problem: can't run jdk1.2 under RedHat6.0

1999-05-20 Thread Emilian URSU
Hi, I had this problem to I read somewhere that RH6.0 doesn't support native_threads so I set my DEFAULT_THREADS_FLAG=green in my .java_wrapper I fixed this problem but I've got another one. Try on your system and tell me if it worked. On Wed, 19 May 1999, Zhihui Zhao wrote: > > hi, I ins

Re: problem compiling multiple files (jdk1.2, RedHat 6.0)

1999-05-20 Thread Stefan Proels
Hi Bruce, > I have installed the blackdown port of the jdk 1.2 on a pentiumII running > RedHat Linux 6.0. > > The good news is that I can run stand alone problems. The bad news is that > javac can't seem to find classes from other files, unless they are precompiled > first. > (So if test1.java

Re: Problem with native method parameter (jstring)

1999-04-30 Thread Denise Stringhini
Hello again, Sorry, after I sent this message I saw that was a "copy/paste" problem. The "release" function is at wrong place... Thanks anyway, Denise. On Fri, 30 Apr 1999, Denise Stringhini wrote: > Hello, > > I'm trying to port my Java 1.2 Solaris native > method to Java-Linux 1.2 pre1.

Re: Problem with JSplitPane on 1.1.7 and Swing 1.1.1b2

1999-04-27 Thread Maksim Lin
It works fine under blackdown jdk1.1.7 & swing1.1 on my RH5 box - in fact it also works fine with the latest kaffe (v1beta4) release. Guess it must be to do with either 1.2 or new swing beta. Maks. Gerald Preissler wrote: > > Hello folks, > > could anyone please tell me if this is a problem w

Re: Problem + Fonterrors

1999-04-26 Thread Jon Bohm
Yes, I have tried green_threads but with the same result as before. Is there a list on the libraries and versions required for JDK1.2 to run? In a mail to this list I read something about glibc-X.x which I don't seem to have installed om my machine. _Applets_ with appletviewer works fine tough.

Re: Problem

1999-04-26 Thread Jeff Galyan
Jon Bohm wrote: > > I experience the same problem, but linking the library doesn't prevent the > last serious error. I have tried with libstdc++.so.1.8.0 and 1.9.. > > Debian 2.1, Linux 2.1 > > /Jon > > P.S> > > grimm@aida:~/Java/src/apps> java ArrayTest > SIGSEGV 11* segmentation violatio

Re: Problem

1999-04-26 Thread Will Koffel
You need to make a link using ln -s to satisfy the stdc++ library. It should look something like this: lrwxrwxrwx 1 root root 18 Mar 12 20:49 /usr/local/lib/libstdc++-libc6.0-1.so.2 -> libstdc++.so.2.9.0 Then rerun /sbin/ldconfig and try again. Should work just fine. Good luck.

Re: Problem

1999-04-26 Thread Jon Bohm
I experience the same problem, but linking the library doesn't prevent the last serious error. I have tried with libstdc++.so.1.8.0 and 1.9.. Debian 2.1, Linux 2.1 /Jon P.S> grimm@aida:~/Java/src/apps> java ArrayTest SIGSEGV 11* segmentation violation stackpointer=0xbfffe328 Fu

Re: Problem

1999-04-26 Thread Constantin Teodorescu
François NOWE wrote: > > The compilation works fine, but when I execute the class I've message on > output. It's a library that doesn't exist on Linux RedHat 5.2 You can force the replacement with something else line that : as root, do a ln -s /usr/lib/libstdc++.so.2.8.0 /lib/libstdc++-libc6

Re: Problem Downloading JDK

1999-03-18 Thread Geoffrey T. Cheshire
On Thu, 18 Mar 1999, Steven Rubenstein wrote: > Why, when I try to download the JDK (bz2 files) from > > ftp://iodynamics.com/pub/mirror/linux-jdk/JDK-1.2/i386/pre-v1/ > > do I get gibberish instead of a download? If you're using Netscape, it may not recognize bz2 as a binary format and ma

Re: Problem Downloading JDK

1999-03-18 Thread Rachit Siamwalla
Your browser thinks it's just a big text file, and tries to display it. Right clicking on the link should bring up a pop-up menu that allows to "Save link As..." and then you can save it to a file. -rchit Steven Rubenstein wrote: > > Why, when I try to download the JDK (bz2 files) from > >

Re: Problem running Jikes on Linux with JDK1.2

1999-03-18 Thread Jean-Pierre Dube
Hi, I found my problem. When I moved my code from NT to Linux I forgot to change the semi-colon in my classpath to a colon. That error caused Jikes to go bizzark. The same problem will appear under NT if I don't change the classpath from a colon to a semi-colon. It's weird error message for that

Re: Problem running Jikes on Linux with JDK1.2

1999-03-18 Thread Osvaldo Pinali Doederlein
You may have some invalid zip in your classpath, e.g. classes.zip, which doesn't exist in JDK 1.2. If you have multiple JDKs installed (1.1 and 1.2) and want to switch, you will be forced to change the CLASSPATH in the switch, removing all the 1.1-only zips/jars and inserting all the 1.2-specific

  1   2   >