I managed to install JMF
manually.
Now I am running into my next problem. I am
trying to get the jmfstudio running on the iPAQ. Here is the error I
am getting when attempting to run it:
# ./jmstudioException in thread
"main" java.lang.UnsatisfiedLinkError:
/usr/j2re1.3.1/lib/armv4l/libfon
Hui Huang wrote:
Is this on Redhat 9? If so, try this:
+ find out java process id
+ use gdb to attach to the process (gdb - )
+ quit gdb
The problem just happened again and indeed that trick worked (strace
didn't, I think because it doesn't trace all threads, just the one it
connects to). I atta
Hui Huang <[EMAIL PROTECTED]> writes:
> Joseph Shraibman wrote:
>> What about this?
>> http://gcc.gnu.org/ml/java/2004-05/msg00064.html
>> Do you know what he's talking about?
>
> Not familiar w/ ResourceBundle implementation. But it looks
> like a performance trick to avoid frequent lookup for cl
Hui Huang wrote:
It looks like the same issue. IIRC, the problem happened when one
thread sleeps on pthread_cond_wait, and another thread in
pthread_cond_{signal,broadcast} to wake up the first thread,
sometimes kernel failed to change the first thread back to running.
So how can I encourage this c
Joseph Shraibman wrote:
Hui Huang wrote:
Is this on Redhat 9? If so, try this:
+ find out java process id
+ use gdb to attach to the process (gdb - )
+ quit gdb
wait a few seconds, does the process start to run again? If yes,
it's a known RH-9 issue (a notification from pthread_cond_broadcast
is lo
Hui Huang wrote:
Veda N Ponnusamy wrote:
Hi,
We set the LD_ASSUME_KERNEL=2.2.5 and the hang goes away. But the
application
is running at 60% speed !!
Interesting. You could try LD_ASSUME_KERNEL=2.4.1 (the floating
stack version of LinuxThreads), it's generally faster than 2.2.5.
Do you know a
Joseph Shraibman wrote:
Hui Huang wrote:
Veda N Ponnusamy wrote:
Hi,
We set the LD_ASSUME_KERNEL=2.2.5 and the hang goes away. But the
application
is running at 60% speed !!
Interesting. You could try LD_ASSUME_KERNEL=2.4.1 (the floating
stack version of LinuxThreads), it's generally faster t
ess still hangs after attach-detach
with gdb, it's something else.
Reg
Veda
-Original Message-
From: Hui Huang [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 10:39 AM
To: Joseph Shraibman
Cc: [EMAIL PROTECTED]; Veda N Ponnusamy; [EMAIL PROTECTED]
Subject: Re: Help on JVM hang
Is
Hui Huang wrote:
Is this on Redhat 9? If so, try this:
+ find out java process id
+ use gdb to attach to the process (gdb - )
+ quit gdb
wait a few seconds, does the process start to run again? If yes,
it's a known RH-9 issue (a notification from pthread_cond_broadcast
is lost in NPTL). Update to A
Hui Huang wrote:
Is this on Redhat 9? If so, try this:
Yes.
+ find out java process id
+ use gdb to attach to the process (gdb - )
+ quit gdb
Well I killed the process already, but the problem seems to happen every
couple of weeks so I'll try that next time.
wait a few seconds, does the process s
Shraibman
Cc: [EMAIL PROTECTED]; Veda N Ponnusamy; [EMAIL PROTECTED]
Subject: Re: Help on JVM hang
Is this on Redhat 9? If so, try this:
+ find out java process id
+ use gdb to attach to the process (gdb - )
+ quit gdb
wait a few seconds, does the process start to run again? If yes,
it's a
eph Shraibman [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 1:26 PM
To: Calvin Austin
Cc: Veda N Ponnusamy; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Help on JVM hang
Calvin Austin wrote:
Does it ever resume. 1.5beta2 has more diagnostics in it and you may
be able to even attache
turn obj;
}
Veda N Ponnusamy wrote:
Please find attached the thread dump of the JVM. I didn't try running
this app on 1.5 jvm
Reg
Veda
-Original Message-
From: Joseph Shraibman [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 1:26 PM
To: Calvin Austin
Cc: Veda N Ponnusamy; [
f the JVM. I didn't try running this app on 1.5
jvm
Reg
Veda
-Original Message-
From: Joseph Shraibman [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 1:26 PM
To: Calvin Austin
Cc: Veda N Ponnusamy; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Help on JVM hang
Calvin Austi
Calvin Austin wrote:
Does it ever resume. 1.5beta2 has more diagnostics in it and you may be
able to even attached with jdb (hey tim :*)
Without seeing the other threads its difficult to see what is happening,
however there was a bug fix in 1.5 to stop the cache growing out of
control. A quick
Does it ever resume. 1.5beta2 has more diagnostics in it and you may be
able to even attached with jdb (hey tim :*)
Without seeing the other threads its difficult to see what is happening,
however there was a bug fix in 1.5 to stop the cache growing out of
control. A quick test with 1.5 would h
I have. I reported it to sun and they said if they had a repoducable
test case they would open a bug. But I could never figure out how to
reproduce it.
Veda N Ponnusamy wrote:
Hi folks,
I'm posting this, since I know I can get help only from this
community. My application is a heavily mul
This was solved. It turned out to be bad RAM. memtest86 did NOT find the
problem after thrashing the memory for over an hour.
Thanks to everyone that helped.
Regards,
Craig O'Shannessy
P.S. Redhat 7.2 doesn't seem to run Linux stably on either uni or multi
processor machines, and Redhat < 7.
Hi Dan,
I suppose this could be one of our problems, Could this "illegal
instruction" problem listed here be the cause of our sig 11 errors?
(there is no mention of -i "illegal" in any of the error files that the
JVM saves on each crash).
The "patch_final" link at the bottom of this page doesn
This is just an update to put a permanent record of what's happening
online.
There seems to be bugs in RH 7.2 on uni (and SMP) processor machines, I
have not tracked them down, but no JVM seems to run stably on it.
Upgrading to RH 7.3 definitely fixed our problems on our uni processor
machines,
Hi,
Yes, I have done this, I ran the memory test (took over an hour!), and
everything was OK. It is happening on 3 machines (all athlons, one of
them SMP), so I'm pretty sure it's not a hardware stability issue.
On Thu, 23 May 2002, Dan Kegel wrote:
> Craig O'Shannessy wrote:
> > I am having
There is a very important patch to Redhat 7.2 SMP kernel, you need the
2.4.9-31smp patch available under 'security patches' from redhat.com
Unpatched redhat 7.2 SMP will create duplicate process ids. That is not good!
The bug is also fixed in 2.4.18 kernels. Hui Huang tracked this down a while
Thanks for that Mark, I'll check it out. It seems this is now free (they
have been aquired by BEA).
Craig
On Thu, 23 May 2002, Mark Christiaens wrote:
> You might try to plug in the JRockit JIT. I have little experience with
> it but as far as I know it isn't based on Sun code in any way so t
On 23 May 2002, Jesse Stockall wrote:
> On Thu, 2002-05-23 at 04:44, Craig O'Shannessy wrote:
> >
> > Sun JDK 1.4.0
> > Sun JDK 1.3.1
> > Sun JDK 1.3.1_03
> > IBM JDK 1.3.1_01 (had to use "LD_ASSUME_KERNEL=2.2.5" for smp machine)
> > Blackdown JDK 1.3.1_01 (both native and green threads, both g
On Thu, 2002-05-23 at 04:44, Craig O'Shannessy wrote:
>
> Sun JDK 1.4.0
> Sun JDK 1.3.1
> Sun JDK 1.3.1_03
> IBM JDK 1.3.1_01 (had to use "LD_ASSUME_KERNEL=2.2.5" for smp machine)
> Blackdown JDK 1.3.1_01 (both native and green threads, both give sig 11)
In my experience you should always be us
Well, just go to
http://www.blackdown.org (they are hosting this list and just announced the
j2se 1.3.1 for Linux a few hours ago)
Download the version you are interested in (latest being 1.3.1). Unbzip
(they don't use zip, bzip is more efficient, everything you need for that
should be included
You must be running RedHat 7.1 with Sun JDK 1.3.0.
There are two known problems with this configuration:
1. Need a link (ln -s /bin/cut /usr/bin/cut); which you solved by actually
moving the executable (not a good idea)
2. Need "export LD_ASSUME_KERNEL=2.2.5" before executing java
I would s
On Mon, 02 Jul 2001, Marc Palmer wrote:
> On 02/07/01, 19:00:21, Juergen Kreileder <[EMAIL PROTECTED]> wrote
> regarding Re: Help getting ARM 1.3.1 to run?:
>
>> You shouldn't use bin/.java_wrapper directly, use bin/java. If
>> bin/java isn't there y
-- Original Message --
On 02/07/01, 19:00:21, Juergen Kreileder <[EMAIL PROTECTED]> wrote regarding
Re: Help getting ARM 1.3.1 to run?:
> On Mon, 02 Jul 2001, Marc Palmer wrote:
> > I'm having a hard time getting 1.3.1 RC1 to run on my iPAQ. I have
> > Fami
On Mon, 02 Jul 2001, Marc Palmer wrote:
> I'm having a hard time getting 1.3.1 RC1 to run on my iPAQ. I have
> Familiar 0.4 installed.
>
> I have extracted the JRE to a microdrive and mounted it as /mnt/hda.
>
> Now, first how do I run the VM? I tried running .java_wrapper just
> as a test, and
Hi
Try this:
import java.io.*;
public class ReadKeyB {
public static void main (String args[]) {
try{
BufferedReader stdin =new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter a digit:");
int a = Integer.parseInt(stdin.readLine());
System.out.println(++a);
}catch
Try this:
import java.io.*;
public class ReadKeyB {
public static void main (String args[]) {
DataInputStream in = new DataInputStream(System.in);
String s ;
try {
s = in.readLine();
int myint = new Integer(s).intValue();
myint++;
System.out.println(myint);
}
ca
Joseph,
Go to my homepage link for Oracle8i Linux:
http://homepages.tig.com.au/~jmsalvo/linux/oracle8i.html
Cheers,
John Salvo
Santhosh Joseph wrote:
>
> Friends,
> I'm relativly new to Linux/Java/Oracle. As a first step, i tried to
> install Oracle 8i on my linuxbox (Red Hat 6.2 - which is
[EMAIL PROTECTED] wrote:
>
> Greetings
>
> I am a teacher in UNIVERSIDAD DE ANTIOQUIA in the arena of
>
> Networks and Programming , and I am very interested in to
> begin to work with Servlets Programming.
>
> At current time I dispose of the followi
want server.shutdown(); // and exit cleanly System.exit(0); } } }
==excerpt ends here==
- Original Message -
From: "Chris Kelly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, March 30, 200
http://interstice.com/~kevinh/projects/javasignals/
--
Trent Jarvi
[EMAIL PROTECTED]
On Thu, 30 Mar 2000, Bruno Boettcher wrote:
> Hello,
>
> i didn't found this in the FAQ's nor in the docu is there a way to capture
> -c interruptions or as long as this one to any one of the other
> uni
http://interstice.com/~kevinh/projects/javasignals/
http://www.naturalbridge.com/useful/index.html
At 07:06 PM 3/30/00 +0200, Bruno Boettcher wrote:
>i didn't found this in the FAQ's nor in the docu is there a way to
capture
>-c interruptions or as long as this one to any one of the other
>un
[EMAIL PROTECTED] wrote:
>
> Hi-
>
> I just downloaded and installed jdk1.2.2 on RH6.1. When trying to run
> some sample code, I get the following message:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> p1/Protection
>
> Here is what I have:
>
> jdk1.2.2 is installed i
Very easily:
ls -l /lib/libc.so.*
Jacob Nikom
"David A. Gershman" wrote:
>
> Sorry, for this stupid follow-up question, but how do I determine my
> version of glibc?
>
> David
>
> > You could have problem with glibc. JDK1.2.2 which you have does not
> > work with gilibc 2.1.1 which you likely
You could have problem with glibc. JDK1.2.2 which you have does not
work with gilibc 2.1.1 which you likely have on RedHat 5.1
Jacob Nikom
Marcos Oliva wrote:
>
> Hello guys,
>
> I downloaded the JDK1.2 and Un-tar the thing on /usr/local and
> i set the PATH to included, but when I try to run
MAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, January 24, 2000 9:46 PM
Subject: Re: HELP: jdk122rc2 swing stuff doesn't work
> Ok, now at last I finally remember what _my_ problem was. Before I
> installed the JDK, I had just reinstalled Linux (Suse 6.3) from scratch,
>
Ok, now at last I finally remember what _my_ problem was. Before I
installed the JDK, I had just reinstalled Linux (Suse 6.3) from scratch,
doing the install in German. At least I assumed it was only the
installation proper. Instead, that also gave users a LANG=de entry in
their environment, and _
On Fri, Jan 21, 2000 at 05:40:26PM -0600, A. Scott White wrote:
> I'm running Debian GNU/Linux 2.1 with kernel version 2.0.36
> My /lib directory contains libc.so.6 and libc-2.0.7.so
>
> I have a Java application I've written on NT using jdk1.2.2. I want to
> run this on the aforementioned Linux
On Fri, Jan 21, 2000 at 10:52:52PM -, Alistair Bayley wrote:
> Peter, it looks like I have the same build as you.
> Running as root makes no difference (as expected).
> I've tried messing around with CLASSPATH etc to no effect.
> Here's my test program; it produces diffeent output from before
I'm running Debian GNU/Linux 2.1 with kernel version 2.0.36
My /lib directory contains libc.so.6 and libc-2.0.7.so
I have a Java application I've written on NT using jdk1.2.2. I want to
run this on the aforementioned Linux box.
I do not want to upgrade my kernel, my glibc or my distro at this
po
Peter, it looks like I have the same build as you.
Running as root makes no difference (as expected).
I've tried messing around with CLASSPATH etc to no effect.
Here's my test program; it produces diffeent output from before
but the point is made. I think there's a problem with the
Pluggable L+F c
Remy,
This is a known problem on all versions of Java. Here is the quote from
the Java Series Book, "The Java Native Interface" by Sheng Liang:
"Unfortunately, you cannot unload the Java virtual machine implementation
in JDK release 1.1 or Java 2 SDK release 1.2. DestroyJavaVM always
returns a
I believe that Sun has not implemented the DestroyJavaVM(). In JDK 1.1 it was
definitely not implemented and the method always returns -1. In JDK 1.2 the
situation is still the same, the VM can not be Destroyed.
Mark
Remy Dupas <[EMAIL PROTECTED]> on 01/05/2000 02:25:30 PM
To: [EMAIL PRO
> Could anyone of you please let me know how I can debug java
> native methods on Linux...
hello,
i am doing this exact thing this morning. there has been a lot of
discussion about how to do this on this list already. i suggest looking
through the mailing list archives for some really GRE
Bruno Boettcher wrote:
I had a similar problem running a program on jdk 1.2.1 for win. The solution was to
every now and then explicitly call the garbage collector (
System.gc() ) every now and then.
--
To UNSUBSCRIBE, email
On Tuesday Nov 23, 1999, Bruno Boettcher wrote:
> now i tryed to put this in the command line:
> java -green -Djava.compiler=NONE -mx=256m
>-Xbootclasspath:"/usr/local/JacORB/classes/jacorb.jar:/usr/local/java/jre/lib/rt.jar:${CLASSPATH}"
> "$@"
You should use -mx256m (or -Xmx256m depending on
Hi
> try to use -mx256m instead of -mx=256m
ok, then:
java -mx256m -green -Djava.compiler=NONE
-Xbootclasspath:"/usr/local/JacORB/classes/jacorb.jar:/usr/local/java/jre/lib/rt.jar:${CLASSPATH}"
jSim.jSimulator netlist
Unrecognized option: -green
Could not create the Java virtual machine.
ok, m
> Bruno Boettcher writes:
Bruno> hello, i posted a similar message to debian lists, but
Bruno> maybew someone here knows the problems...
Bruno> i am running on a debian-potato system and i did loose the
Bruno> java-functionality after the upgrade of theis morning,
Bruno>
On Mon, Nov 22, 1999 at 04:10:34PM +0100, Bruno Boettcher wrote:
ok, found a fix. but still i do not know what failed.
but as it seems it could be /bin/sh.
> now when i try to launch any java program i get the message
> Error: can't find libjava.so .
ok, editing the java_wrapper
Bruno Boettcher wrote:
Hello,
a friend just showed me an example where to load a given set of
RessourceBoundles he prefixed the baseName of the boundle with a (relative)
path...
Now i ran back to my computer and made some tests and it doesn't
work
for me.. i am using jdk1.2pre2 on linux
Have you tried JRun? It's a lot easier to configure and supports the jsp
1.0 spec as well as the new servlet spec
www.allaire.com look for jrun on index page
Brian
--
To
> Please help me!
I just finished installing JServ. Mabye I can help.
What is the exact error you are getting? Can we see the entry from
/logs/error_log and /logs/mod_jserv.conf ?
--shawn
--
To UNSUBSCRIBE, email to [EMA
On Mon, 16 Aug 1999, Matt Welsh wrote:
>
> Riyad Kalla <[EMAIL PROTECTED]> writes:
> > I was sent this by Joel McCarty and think it might be a
> > good thing for us to sign up and vote "Java-Linux
> > Blackdown" to a project that we wish to be funded.
>
> This would be great, if the Sun Linux
Riyad Kalla <[EMAIL PROTECTED]> writes:
> I was sent this by Joel McCarty and think it might be a
> good thing for us to sign up and vote "Java-Linux
> Blackdown" to a project that we wish to be funded.
This would be great, if the Sun Linux port of the JDK were even
remotely Open Source!
This
Riyad Kalla wrote:
>
> I was sent this by Joel McCarty and think it might be a
> good thing for us to sign up and vote "Java-Linux
> Blackdown" to a project that we wish to be funded.
I think getting some funding for Blackdown would be great if (a big if)
the available talent is available, will
> To run SimpleExample.class you must type
>
> java SimpleExample
>
> because the point "." has the same efect than "/" to
> separate packages and directories
I did get SimpleExample to run:
java -green -cp "." SimpleExample
and was able to run a more complex program using -cp to point to th
Hi !
I'll answer the easier question:
To run SimpleExample.class you must type
java SimpleExample
because the point "." has the same efect than "/" to
separate packages and directories.
I think that you typed
java SimpleExample.class
and you get:
Exception in thread "main" java.lang.NoClassD
Hi,
The easiest (maybe not the best) way to solve this problem is to move the
/lib/libpthread-0.7.so to
/usr/local/lib. You also need to set $JAVA_HOME/jre/lib/i386/libsunwjit.so right
permission for
users. Check
http://www.mail-archive.com/java-linux@java.blackdown.org/msg08768.html.
---
Rajkishore Barik wrote:
>
> Hi,
>
> Is it possible to get JDBC code for linux ?
> If so, where can i get it.
Sure, depends what back-end database you'd be connecting to though.
PostgreSQL (http://www.postgresql.org), which I use, has a JDBC driver
as part of the package. JDBC d
On Sun, 01 Aug 1999, Paulo da Silva wrote:
> >%_I have just downloaded and installed
> jdk1.2pre-v2.tar.bz2 for glibc 2.0.
>
> I have Linux slackware 4.0 k 2.2.10.
>
> I'm sending attached the pertinent info.
>
> TIA for any help.
> Paulo
I have experienced the same problem with 2.2.10. I 'm
I don't have a problem with 1.1.7B, and if you use 1.2pre2 and put a
System.out.println to print out sum after your loop, it will exit
normally with a sum of 9604. Without the println, 1.2pre2 bombs for me
too. Strange.
-Jim
Rudi Streif wrote:
>
> Raj,
>
> Basically it says that your code doesn't make sense because the result of
> sum is invariant to the loop. I can't tell you why it fails under Blackdown
> JDK1.2 for Linux (it does on my machine too) but works under Sun JDK1.2 for
> Windows.
The failure is in the
Raj,
Basically it says that your code doesn't make sense because the result of
sum is invariant to the loop. I can't tell you why it fails under Blackdown
JDK1.2 for Linux (it does on my machine too) but works under Sun JDK1.2 for
Windows.
If you changed your code to something like this
sum
Kothari Alpesh D writes:
>
> I have installed jdk1.2 from blackdown site. After setting the path and
> running command 'java' or 'javac' it gives error the somefiles in the
> path /bin/realpath not found. Similar error it gives for path
> /green_threads/i386 etc. Also it tells that it cannot find
You could try changing the order of your /etc/hosts file so that the
interface you want to use is the first one.
On Fri, 4 Jun 1999, Bruno Boettcher wrote:
> Hello,
>
> i am trying to get JacORB1 working on my machines
>
> unfortunately the nameserver registers itself with the loopback d
Mario Jorge Nunes Filipe wrote:
>
> [EMAIL PROTECTED] wrote:
> >
> > Try putting the paramater name and value's in quotes, like this
> >
> >
>
> This wasn't the sollution either but i've found the solution.
>
> My initial code had a constructor for the class wich called a priva
[EMAIL PROTECTED] wrote:
>
> Try putting the paramater name and value's in quotes, like this
>
>
This wasn't the sollution either but i've found the solution.
My initial code had a constructor for the class wich called a private
function init_components. When i removed the con
Try putting the paramater name and value's in quotes, like this
--Alex McCarrier
--Momentum Software, Inc.
On Thu, 13 May 1999, Mario Jorge Nunes Filipe wrote:
> Joel McCarty wrote:
> >
> > Mario,
> >
> > Java is a case sensitive language. You are getting a NullPointerException
> > because
Joel McCarty wrote:
>
> Mario,
>
> Java is a case sensitive language. You are getting a NullPointerException
> because the getParameter call is looking for WINDOWCLASS and can't find it.
> Please change the case of the param name to match that in the java class.
Actually it doesn't.
Mario,
Java is a case sensitive language. You are getting a NullPointerException
because the getParameter call is looking for WINDOWCLASS and can't find it.
Please change the case of the param name to match that in the java class.
Hope this helps,
Joel McCarty
Mario Jorge Nunes Filipe wrote:
Hello everybody
I think your problem is not about paths. I use 1.1.6 release, and my
libjava is in /usr/lib/jdk-1.1.6, so my JAVA_HOME and my JDKHOME
variables point to that directory. Have you set these variables properly
?
> Arnaldo Riquelme wrote:
>
> I just downloaded the jdk v.117 . I tryi
Hello everybody
I think your problem is not about paths. I use 1.1.6 release, and my
libjava is in /usr/lib/jdk-1.1.6, so my JAVA_HOME and my JDKHOME
variables point to that directory. Have you set these variables properly
?
> Arnaldo Riquelme wrote:
>
> I just downloaded the jdk v.117 . I tryi
Gee -static to create a shared .so file ? maybe u wanna look at -shared !
> > libHelloNative.so: HelloNative.c HelloNative.h
> > gcc -c -o libHelloNative.so \
> > -static \
> > -I/usr/java/include \
> > -I/usr/java/include/genunix \
> >
Make sure that:
#1: you're calling System.loadLibrary(someLib) [ I'm assuming you are ]
#2: when you compile your native library, you are exporting the symbols
you need to call from your Java program [ this was a real pain in the
butt on a Mac ]
Peter Gutowski wrote:
>
> I've used Cay Horstma
>libHelloNative.so: HelloNative.c HelloNative.h
> gcc -c -o libHelloNative.so \
> -static \
> -I/usr/java/include \
> -I/usr/java/include/genunix \
> HelloNative.c
>
You don't have the right compiler options here. In the ELF-HOWTO
(maintained by [EMAIL PROTECTED]), you find the following gui
Peter Gutowski wrote:
>
> I've used Cay Horstmann's and Gary Cornell "Core Java" books and have been
> pretty happy with them. The second volume claims to help you create native
> methods that can be called from java code. Their examples use Solaris and
> WindozNT only though..
>
> The instructi
You need to compile that as a shared library not a static lib. Use -shared
not -static on the command line.
Mo DeJong
dejong at cs.umn.edu
On Mon, 15 Feb 1999, Peter Gutowski wrote:
> I've used Cay Horstmann's and Gary Cornell "Core Java" books and have been
> pretty happy with them. The second
Hi,
If this is not right place to ask this question ,then please excuess
me.
Today,I visite site http://www.opengroup.org/desktop/x/
There I found some information and that is as follows.
X Windows is hardware-independent. With X you can run Microsoft
Windows Applications on a UNIX workstat
You need to amke sure . is in your classpath. Then you need to type the
name of the program without the .java extension. Here is what works on
my system.
% setenv CLASSPATH .
% java HelloWorld
Mo DeJong
dejong at cs.umn.edu
On Fri, 8 Jan 1999, Hoang C. Truong wrote:
> Hello,
> When I compile m
I don't think this is really the right place to ask or answer a question
like this but you will want to use the java.util.Random class and
declare an int in you method or class. Then call the nextInt() method
of the random class and you should be off and running.
Mo DeJong
dejong at cs.umn.edu
O
References: Sun's java coding standard is good.
Remember to document code.
Excercise: Quickly write the hello world class/program. Then after you
are done Identify 3 good things about it and 5 bad things about your
implementation..
---do the class before you read the next part
When you started the RMIRegistry did it get the correct classpath to find
your _stub and _skel files? This message says no... The message is probably
very appropriate; it is saying that on the remote side of the RMI connection
(which would be the RMIRegistry) there was an unmarshalling excpetion,
Phil Young wrote:
> I am working with a small group that has ported an application (in C/Motif)
> from Solaris to Linux.
> We will need to construct auxiliary programs for it, some of which may run
> simultaneously and communicate with it
> and others that may run stan
I talked with root and told me he re-installed linux.
Does Linux contain kaffe by default?
I typed:
lcomp98.fi-b.unam.mx carlos>which javac
/usr/bin/javac
and /usr/bin contains kaffe. What's that?
He removed it and I typed:
lcomp98.fi-b.unam.mx carlos>which java
/users/local/bin/java/jdk1.1.5/
> Carlos Alberto Roman Zamitiz writes:
Carlos> Hi, yesterdar root had a problem with his linux server and
Carlos> I don't know certainly what happened but today I typed:
Carlos> lcomp98.fi-b.unam.mx carlos>javac HolaMundo.java
Carlos> No library path set.
Carlos> I revi
> [EMAIL PROTECTED]
> lcomp98.fi-b.unam.mx carlos>javac HolaMundo.java
> No library path set.
> I revised my PATH and CLASSPATH. They are correct.
> Only if I type full path
> lcomp98.fi-b.unam.mx carlos>/users/local/bin/java/jdk1.1.5/
> bin/javac HolaMundo.java
It looks to me like you have
At 10:22 AM 12/9/98 -0600, Carlos Alberto Roman Zamitiz wrote:
>Hi, yesterdar root had a problem with his linux server and I don't know
>certainly what happened but today I typed:
>
>lcomp98.fi-b.unam.mx carlos>javac HolaMundo.java
>No library path set.
>
>I revised my PATH and CLASSPATH. They ar
I need to translate some UNIX code in a Java corresponding code. Do
you know if there are java classes of Unix commands like
uniq -c
sort
join
...etc.
already made and available?
Thank you very much,
Antonella, Rome (Italy)
_
Hi,
The parameter to appletviewer is an HTML file, make sure you're calling the
HTML file and not the .class file. If you are calling the HTML file, in the
CODE= parameter you need to specify the ".class" extension (confusing? yes. In
applets you use the .class, in applications you don't)
Hope t
> "Ryuji" == Ryuji Yokoyama <[EMAIL PROTECTED]> writes:
Ryuji> Hello All! I am newbie and have a problem. I downloaded
Ryuji> jdk-1_1_6-5_glibc_i386.rpm and installed it. When I tried
Ryuji> to use appletviewer, I got following error message. "I/O
Ryuji> exception while rea
essage-
> From: John M. Gulizia [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, October 19, 1998 8:38 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: help!!!
>
> Willy wrote:
> >
> > Sir/Madam,
> > Good day!!!
> >
Why not? Many thirdparty vendor scripts rely on this value.
--jason
On 11-Oct-98 Steve Byrne wrote:
> Jason Dillon writes:
> > Try setting your classpath to contain jdk116/lib/classes.zip:
> >
> > sh:
> >
> > CLASSPATH=/where/ever/you/put/it/jdk116/lib/classes.zip
> > export CLASSPATH
RedHat 4.2 is based on libc v5.x so jdk_1.1.6-v5-x86-lib5.tar.gz is just what
you need. If you ever upgrade to RedHat 5.1 (or above I would guess) then you
would need the glibc version.
I don't know very much about kaffe, but the few experences that I have had were
poor. I have been using black
Jason Dillon writes:
> Try setting your classpath to contain jdk116/lib/classes.zip:
>
> sh:
>
> CLASSPATH=/where/ever/you/put/it/jdk116/lib/classes.zip
> export CLASSPATH
>
> csh:
>
> setenv CLASSPATH /where/ever/you/put/it/jdk116/lib/classes.zip
>
> You should also set JAVA_HOME
On Sat, 10 Oct 1998 23:51:23 -0700 (PDT), Jason Dillon wrote:
>Try setting your classpath to contain jdk116/lib/classes.zip:
>
>sh:
>
>CLASSPATH=/where/ever/you/put/it/jdk116/lib/classes.zip
>export CLASSPATH
This should not be needed. The problem below is most likely that
he is not running the
1 - 100 of 114 matches
Mail list logo