Hi,
It would be appreciated if someone could help me on the following questions.
Q1: can I use "k", "m" and "g" to specify kbyte, mbyte and
gbyte, like -Xms700m (for 700 mb), -Xmx2g (for 2 gb)?
Q2: is there any upper limit for -Xms and -Xmx values, or can
I use whatever value I wa
Hi:
Is there any source code of a Web browser for Linux available somewhere?
It's even better if it's pure Java source code, so we can use it on
different platform to get a consistent interface?
Thanks.
Lee
--
To UNSUBSCRIBE
Hi:
I'm
trying to use two java threads t1 and t2, and each one uses exec() to start the
same C native application. It seems JVM (BlackDown 1.1.8 v1) never
switches from t1 to t2. The output looks like:
In
thread t1: i = 0
In
thread t1: i = 1
In
thread t1: i = 2
...
I put
s
Hi:
I got
a java application that uses exec("nativeApp.exe") to start a native
application. It works fine on NT. But on Linux exec("a.out") gets an
exception saying a.out could not be found. a.out is placed in the same
directory as java app does. What I missed?
Thank
you.
Lee
Hi,
Got two questions on JNI and .so file. It would be appreciated if someone
could help.
Q1: I was told that when java jni loads .so file, the first function been
called is _init(). Can I use it as a constructor to setup something when
java app loads the .so file? If I put _init() func in .
Hi,
Got two general questions here. Could someone provide some info? Thank
you.
Lee
===
Q1: If the current Balckdown JDK will be compatible with Linux64 and Intel
IA64 platform? If not, any plan or info. on this?
Q2: Can we freely distribute BlackDown jre (not jdk) to customers to let
t
Thanks, Weiqi. Yes it works. Is it for two threads only?
Regards,
Lee
-Original Message-
From: Weiqi Gao [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 04, 2000 12:57 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: JNI & .so Files
[EMAIL PROTECTED] wrote:
>
> [accessing
Weiqi,
You are right. That's the problem. Sorry for the careless mistake.
To make the code more interesting, I add two threads, t1 and t2, in the code
this time and found some problems, maybe they are my problems again :(
Q1: Based on JNI spec, different native functions in the same thread
Hi Nathan,
Thank you very much for your information. I created three small real files
(app.java, so1_beep.c and so2_hello.c) and attach them below. They can be
compiled into .class, .h, .o and .so files. I'm using BlackDown 1.1.8 v1 on
RH6.1
It seems so2 can call back to so1, but when so1 cal
Hi Nathan,
Thank you for your response. Please let me re-address my question by using
the following pseudo code. I embedded my question in so2.c pseudo code.
The following lines are app.java, so1.c and so2.c. They are only pseudo
code.
==
//app.java
public
Hi,
I got a question on JNI. It would be appreciated if someone could help.
Q:
In order to hide java and jni related issues (e.g. jni function name
convention, etc.) from .so programmers, a wrapper .so file so1.so is used in
between java app and another .so file so2.so (the one with native fun
Hi Renzo:
Thank you for the information you put together. It helps.
Regards,
Lee
-Original Message-
From: Renzo Pecoraro [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 31, 2000 2:14 AM
To: [EMAIL PROTECTED]
Subject: Java-Linux I18N Tutorial
All -
I started a little Java-Linux I1
Juergen,
Thank you and all other people responding to my e-mail.
Yes, you are right. I forgot to change the function name in C file after
moved the native function declaration into another java class. Sorry for
the careless mistake.
Regards,
Lee
-Original Message-
From: Juergen Kre
-Original Message-
From: Jo Uthus [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 27, 2000 1:31 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: JNI and Dead Thread on Linux
[EMAIL PROTECTED] wrote:
| Q1:
|
| command line command "ps -a" shows 4 java (JVM) running.
Thanks, Juergen.
Yes. 1.1.8-v1 fixed this problem.
I got two questions on JNI and thread. Could someone help me on these?
Thank you.
Environment: RH6.1, BlackDown 1.1.8_v1
Q1:
After start the following simple java application
by using "java -native test",
public class test
{
public s
Hi Nathan:
Thank you for your information.
I downloaded jdk_1.1.7-v3-glibc-x86-native.tar.gz and unpack it
from the $JAVA_HOME directory. When I run "java -native app", I
got an error message like:
"Cannot open /proc/00762 for GC/mnt/e/Linux/java/jni/Sample3/app",
and every time when I re-t
Hi Nathan:
Thank you for the information and sorry for the careless
mistake.
Based on your book and information posted on the mail list.
It seems:
Q1: There are only two ways to create new threads when use
JNI on Linux (and other OS).
(a) use Thread.start in java code.
(b) let native c
Hi:
I got a few questions on JNI on Linux. It would be appreciated if someone
could help.
Suppose a shared library file has a function that is used to do hardware
I/O, say hard drives R/W. A Java application uses JNI and calls this native
function in .so file twice to R/W two separate hard dri
Renzo:
Thank you very much for your help and information. It's very helpful.
I'll send time to digest all of the information and give it a try.
Regards,
PS. This msg may not be able to be posted in the mail list. I don't know
why.
Lee
-Original Message-
From: Renzo Pecoraro [mail
Thank you for your help, Nathan.
Regards,
Lee
-Original Message-
From: Nathan Meyers [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 12, 2000 6:27 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Nathan's Book
On Wed, Jan 12, 2000 at 06:14:17PM -0600, [EMAIL PROTECTED]
-Original Message-
From: Nathan Meyers [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 12, 2000 5:46 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Nathan's Book
On Wed, Jan 12, 2000 at 05:37:22PM -0600, [EMAIL PROTECTED] wrote:
> Thanks, Nathan.
>
> Yes, it's copyrig
Thanks, Nathan.
Yes, it's copyright 2000. The reason I asked the question because I
couldn't find any topic on internationalization from the book. It would be
appreciated if you could give me some information on how to implement this
(i.e. display Japanese or Chinese on buttons, listbox, menu,
Hi Nathan:
Are you going to make a new version of this book recently?
Thank.
Lee
-Original Message-
From: Jacob Nikom [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 10, 2000 11:19 AM
To: Nathan Meyers
Cc: Rich Ibbotson; [EMAIL PROTECTED]
Subject: Re: Nathan's Book
Does "Java Progr
Nathan,
I really appreciate your valuable information. It helps a lot.
Pardon me for one more question - how to check thread status from command
line (like "ps" is used to check process status from command line) on Linux?
I'm new in Linux.
Regards,
Lee
-Original Message-
From: Natha
Hi:
I installed BlackDown jdk_1.1.7-v3-glibc-x86.tar.gz on RedHat 6.1 Linux.
There is no problem to compile a simple java application (hello.java). But
got compile error when compile an application with Swing component. The
error message is "Package com.sun.java.swing.* not found in import". W
Hi:
Is anybody using Java compiler and run time for Linux coming with RedHat
Linux 6.1? The package name is "kaffe" and is on RedHat 6.1 first CD. I
can compile and run java applications with them. Can someone tell me
something about it compare with Blackdown and IBM's Java for Linux?
Thank
Hi:
Is anybody using Java compiler and run time for Linux coming with RedHat
Linux 6.1? The package name is "kaffe" and is on RedHat 6.1 first CD. I
can compile and run java applications with them. Can someone tell me
something about it compare with Blackdown and IBM's Java for Linux?
Thank
Hi,
Could you please tell me what files we should download from Blackdown for
Redhat Linux 6.1?
Thanks.
L.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Hi:
We got a few questions on deployment with Blackdown. It would be
appreciated if someone could help.
Q1: After we finish a Java application development on Windows NT 4.0 (Intel)
with VisualCafe 3.0, is it possible to include everything** on a CD, and let
user run the Java application from th
Hi:
I'm new in Linux. Please forgive me if the questions are too simple.
Q1: What version of Java (1.1 or 1.2) does JVM inside Blackdown JDK package
support?
Q2: A Java application was developed on Windows NT 4.0 (Intel) by using
VisualCafe 3.0. Can we simply move all class files of the applic
-Original Message-
From: Nathan Meyers [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 18, 1999 3:32 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Thread in the Linux's JVM
On Thu, Nov 18, 1999 at 11:59:04AM -0600, [EMAIL PROTECTED] wrote:
> This sounds to me like Java
This sounds to me like Java and C/C++ native code can talk to each other
only if they (java and native code) are in the same thread. Is it right, or
in the same process?
Suppose C/C++ native code creates another thread within the shared lib, can
the newly-created thread interact with (call back
32 matches
Mail list logo