Re: browsing java sites

2003-04-04 Thread Nathan Meyers
On Fri, Apr 04, 2003 at 07:10:31AM -0500, Nathan Meyers wrote: > On Fri, Apr 04, 2003 at 03:25:10AM -0500, Joseph Shraibman wrote: > > Kent E. wrote: > > >does it mean... > > > > > >browsing thru a linux is not allowed while browsing thru a windows2000 can &g

Re: browsing java sites

2003-04-04 Thread Nathan Meyers
#x27;s) that I didn't encounter when I browsed the site from Mozilla on Linux - either directly or through a squid proxy server. I wonder if there's something strange about the proxy setup behind his firewall... something creating the appearance that the applet is served up from some

Re: per jvm thread limit

2003-02-16 Thread Nathan Meyers
ke your changes, and rebuild. I also recommend doing a "make mrproper", which does a thorough cleaning to the Linux build tree, *before* you copy the .config file. Nathan Meyers [EMAIL PROTECTED] -- To UNSUBSCRIBE, email

Re: per jvm thread limit

2003-02-14 Thread Nathan Meyers
s > that limit per process or system wide? Can you point me at documentation > for the config options? No... you need to build a new kernel, using the modified contents of this file as your /usr/src/linux/.config file. Nathan Meyers [EMAIL PROTECTED] -

Re: per jvm thread limit

2003-02-13 Thread Nathan Meyers
mit in /proc/sys/kernel/threads-max? You can see the current limit by reading the contents of that file, and set a new one by writing a new value to that file, e.g.: echo 8192 >/proc/sys/kernel/threads-max Nathan Meyers [EMAIL PROTECTED] -

Re: linux

2003-02-06 Thread Nathan Meyers
ted as sleep(1)?) Thread.yield() works fine - it seems to me that Juergen did a good job of addressing that issue in the 2/2001 discussion Joseph started: http://groups.yahoo.com/group/java-linux/message/15646 Nathan Meyers [EMAIL PROTECTED]

Re: Blackdown: some questions

2002-11-14 Thread Nathan Meyers
7;s of interest, you should be able to find details somewhere on the Blackdown site. Nathan Meyers [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: SQL database and JDBC

2002-11-07 Thread Nathan Meyers
On Thu, Nov 07, 2002 at 12:17:12PM -0600, Cuong Nguyen wrote: > Hi everyone, > > Can anyone recommend an SQL server for Linux which provides JDBC API for > database connectivity? Definitely PostgreSQL, probably also MySQL (although I haven't done that one with JDBC). Nat

Re: Enable server X with graphics

2002-10-22 Thread Nathan Meyers
server? If you are using JDK1.4, you can run with this property: java -Djava.awt.headless=true ... Nathan Meyers [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe&

Re: other widgets

2002-10-10 Thread Nathan Meyers
how they look. The difficulty of building decent portable GUIs is the main reason the AWT is considered inadequate and Swing was written as a portable replacement. (Unfortunately, this isn't much help to those writing applets for obsolete Java environments running on Windows machines.) Natha

Re: Segmentation fault while compiling java program.

2002-09-21 Thread Nathan Meyers
lding applets that will run on the Microsoft JVM - there are options you can use to do that with the current compiler. Nathan Meyers [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Problems with the Swing classes

2002-09-09 Thread Nathan Meyers
found.For some reason, it >cant find any of the swing classes only.Im using RedHat 7.2 Are these perhaps old programs dating back to the early days of Swing? Swing's package names changed a few times - if this is old code, it may be looking for the wrong classes. Nathan Meyers

Re: JVM and threads

2002-09-03 Thread Nathan Meyers
ven't tried it! It might not work, and there might be some intricate libc dependency problems on your system. But it's what I would try if I were to try it :-). Nathan Meyers [EMAIL PROTECTED] -- To UNSUBSCRIBE, emai

Re: ???

2002-08-20 Thread Nathan Meyers
n, issues unique to Linux, JNI-based libraries for Linux, and so on. It's not a good list for newbies. There are many excellent resources - Sun-published tutorials, discussion groups, books, and such - that will help you learn the basics. Nathan Meyers [E

Re: JDK 1.4: "Could not create system preferences directory"

2002-08-10 Thread Nathan Meyers
thing as root will complete this step and you'll never see the message again. Nathan Meyers [EMAIL PROTECTED] > > When I look at the JDK 1.4 API, there is no such class named > FileSystemPreferences under the given package above. > > Is this FileSystemPreferences some

Re: Newbie version questions

2002-07-29 Thread Nathan Meyers
fat desktops like KDE or Gnome. You might look at Xfce or others of that ilk. They're not full-fledged networked object systems like KDE or Gnome, but they do run reasonably on modest-sized boxes. Of course, Java will then

Re: current locale is not supported in X11 ... Registered Monitor Dump...

2002-07-19 Thread Nathan Meyers
ault" Have you got a utility called "locale" on your system. What does it output when you run it? Also, you might try changing the locale with an environment variable. For example: export LC_ALL=C Nathan Meyers [EMAIL PROTECTED] -

Re: awt support on ARM920

2002-07-17 Thread Nathan Meyers
ect file: No such file or directory It should find the native AWT support library if it exists and is in the expected place. But since I'm not an ARM user, I'll have to ask... is there a libawt.so in /usr/local/j2re1.3.1/lib/ or, for that ma

Re: unable to run hello world on ARM920T processor

2002-07-16 Thread Nathan Meyers
ut, if you want to try, the first step is to rewrite the .java_wrapper script to work with the non-standard versions of shells and tools you're using in your environment. Nathan Meyers [EMAIL PROTECTED] > BusyBox v0.60.2 (2002.06.19-08:58+) multi-call binary >

Re: Has anyone gotten PerfAnal to work? Profilers in general

2002-07-03 Thread Nathan Meyers
x27;re analyzing - is there any useful info there? PerfAnal doesn't deal well when there's nothing to analyze. I haven't checked recent releases, but in my experience the JDK stopped generating useful -Xrunhprof CPU sampling output wit

Re: xalan won't run

2002-06-07 Thread Nathan Meyers
of my cpu and 50 > percent of my memory. Try using the JDK available from Blackdown or Sun - Kaffe is still not a very complete implementation of Java. You'll find some more info here: http://www.jguru.com/faq/view.jsp?EID=208

Re: challenging problem

2002-01-22 Thread Nathan Meyers
Hi all, I have a problem that I don't know how to track. I use a ant task from NetBeans. The exact same code (from a cvs repository) on the following environments compile perfectly fine : - Debian GNU/Linux PowerPC + Blackdown JDK 1.3.0 (no deb package) - Mac OSX 10.1.2 + Apple JDK 1.3.1 But

Re: Sun bug 4498974

2002-01-06 Thread Nathan Meyers
On Mon, Jan 07, 2002 at 12:28:18AM +0100, Juergen Kreileder wrote: > Nathan Meyers <[EMAIL PROTECTED]> writes: > > > I have no idea if the Blackdown folks are addressing this problem > > for their JDK1.4 release > > We would -- but so far nobody came up with a rea

Re: Sun bug 4498974

2002-01-01 Thread Nathan Meyers
On Tue, Jan 01, 2002 at 07:40:47PM -0800, Man Chi Ly wrote: > Sun lost the client-side battle years ago, perhaps primarily due to the > fact that Swing was not performance-competitive w/ native Windows apps... > > The reality is that as small a market Java client apps currently are, > the marke

Re: Sun bug 4498974

2002-01-01 Thread Nathan Meyers
On Tue, Jan 01, 2002 at 10:21:46PM +, jordan muscott wrote: > On Tuesday 01 January 2002 20:29, Nathan Meyers wrote: > >VolatileImage is a client-side technology, and Sun is trying to regain > >the client-side foothold it lost by "winning" its lawsuit against >

Re: Sun bug 4498974

2002-01-01 Thread Nathan Meyers
On Tue, Jan 01, 2002 at 05:21:33PM +, jordan muscott wrote: > I've just noticed bug 4498974 on the Sun website. Im totally shocked about > this. It was my understanding (please correct me if i am wrong), that the > promised increase in performance with Swing was based around the use of > Vo

Re: Java 3D crashes when i close the window - Please Help

2001-12-24 Thread Nathan Meyers
On Mon, Dec 24, 2001 at 10:19:59AM -0800, Eryk Furman wrote: > Hi all this is my first post, I just started developing Java under Linux, cuz >frankly i cant deal > with Microsoft's OS's anymore. I am running Red Hat 7.1, Java 2 jdk1.4 beta 3, >blackdown java3d > 1.3. Im running this on an IBM

Re: JDeveloper on Linux

2001-12-14 Thread Nathan Meyers
On Thu, Dec 13, 2001 at 12:45:24PM -0500, [EMAIL PROTECTED] wrote: > I have downloaded Oracle's JDeveloper and it requires me to have JDK 1.3. When > I download the SUN Linux RPM for Redhat JDK 1.3 the file type is '.BIN'. Does > anybody know how I install this? The file name is > "J2sdk-1_3_1_

Re: Blackdown and IBM

2001-11-27 Thread Nathan Meyers
On Tue, Nov 27, 2001 at 12:50:27PM +0100, Olivier Rossel wrote: > Wow. > I tested IBM jdk (1.3). It is MUCH faster than Sun's or Blackdown's, on > Swing stuff (under Linux, at least). > Did they choose a different technological solution, or what? Yes - the JVM is their own. Nathan ---

Re: Blackdown JDK 1.3.1 and User Mode Linux

2001-11-22 Thread Nathan Meyers
On Thu, Nov 22, 2001 at 08:53:40PM +0100, Thomas Bonk wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello, > > I tried to run Jetty (http://jetty.mortbay.org) under the > Blackdown JDK 1.3.1 in a User Mode Linux VM. I think yours my be the first ever posting about this. I'm sure

Re: what are the differences among classic/libjvm.so, server/libjvm.so, and client/libjvm.so?

2001-11-14 Thread Nathan Meyers
On Tue, Nov 13, 2001 at 10:50:23PM -0800, Hong ZHou wrote: > Hi, Dear ALL: > > In the linux JDK, there are 3 libjvm.so, what are the differences among them? > > (classic/libjvm.so, server/libjvm.so, and client/libjvm.so) The "classic" is an old JVM that uses green threads instead of kernel thr

Re: Odd problem: Error: Unable to locate class java.lang.Object

2001-10-30 Thread Nathan Meyers
On Tue, Oct 30, 2001 at 07:10:57PM -0500, Timothy Reaves wrote: > I have an odd problem. I am trying to run a class file post processor. > When I run it, it gives the err (in the subject line). My environment is > setup correctly. > > Any idea what might cause this problem? Is ther

Re: SO_KEEPALIVE and Ping

2001-10-22 Thread Nathan Meyers
On Mon, Oct 22, 2001 at 08:05:42AM -0700, Homayoun Yousefi'zadeh wrote: > Hello All, > > I have a question regarding a ping program > in Java. I am trying to improve the performance > of an infinite ping loop by keeping the socket > open and using SO_KEEPALIVE option instead of > opening and clos

Re: setting break point in JNI code...

2001-10-19 Thread Nathan Meyers
If you want to debug JNI code, you need to run a native debugger like gdb, not a Java debugger. It would be nice if a single debugger could handle both, but no debugger (that I know of) can do that. It's a bit tricky to set up. Here's a document from IBM that talks about how to do it with the AIX

Re: who calls a method

2001-10-12 Thread Nathan Meyers
On Fri, Oct 12, 2001 at 10:21:38AM -0700, Avi Cherry wrote: > At 8:55 AM -0700 10/12/01, Peter Graves wrote: > > > is there a possibility to find out where a method has been called? = > > > >> Something like the information given by an exception. > >> = > > > >> Thanks, > >> Rapha > > > >Thre

Re: who calls a method

2001-10-12 Thread Nathan Meyers
On Fri, Oct 12, 2001 at 03:08:46PM +0200, Raphael Mack wrote: > Hello, > > is there a possibility to find out where a method has been called? > Something like the information given by an exception. Are you looking for a profiling tool to generate the information, or do you want to generate the

Re: Environment

2001-10-12 Thread Nathan Meyers
On Fri, Oct 12, 2001 at 05:08:12PM +0200, Raphael Mack wrote: > Hello again, > > is there a way to read the system-environmentvariables with JAVA? If you mean the Unix/Linux environment - not without making JNI calls. If you can make JNI calls, the "getenv()" call will retrieve individual values

Re: Java Threads on Linux

2001-10-03 Thread Nathan Meyers
On Wed, Oct 03, 2001 at 06:32:11PM -0700, Dan Kegel wrote: > root wrote: > > > > On Wed, Oct 03, 2001 at 02:22:51PM -0700, Dan Kegel wrote: > > > Nathan Meyers wrote: > > > > The current Linux implementation of POSIX threads uses the clone() kernel > >

Re: Java Threads on Linux

2001-10-03 Thread Nathan Meyers
On Wed, Oct 03, 2001 at 06:50:48AM -0700, Avi Cherry wrote: > At 2:16 PM +0200 10/3/01, Florent Coste wrote: > >I'm not a kernel guru too, > > > >but what know is that : > >java threads are mapped to posix threads (linuxthreads in the glibc). The > >linuxthreads library uses the kernel threads, wh

Re: missing JButton

2001-10-02 Thread Nathan Meyers
On Tue, Oct 02, 2001 at 09:24:30AM -0600, Stuart Wier wrote: > One of my JButtons is not visible when created. > > I am developing a desktop standalone application > which has a ui of JButtons in JPanels. All buttons > appear except one, which however will appear if the main JFrame > is resized

Re: ssh question

2001-09-27 Thread Nathan Meyers
On Thu, Sep 27, 2001 at 09:12:02PM -0400, Timothy Reaves wrote: > Does anyone know where I might find information of using ssh & scp from > within java? In other words, do the equivilent of scp'ing a file to the > local machien from a remote machine running sshd? You might check out the Ja

Re: Pid of the JVM

2001-09-13 Thread Nathan Meyers
ll). But there's a big caveat here: in Linux, every thread has its own PID, unless you're running with green threads. Your call to getpid() will get a pid somewhere in the process hierarchy, but probably not the one you want. Nathan Meyers [EMAIL PROTECTED] > Thanks >

Re: Faking out an app that requires a GUI

2001-09-12 Thread Nathan Meyers
On Wed, Sep 12, 2001 at 06:25:00PM -0700, ed phillips wrote: > Are you referring, Jim, to an Expect like feature set for Java. > > Is there such a set of classes? Perl has an Expect module. Hmmm Joi's recommendation for xvfb is the right one. The Linux/Unix AWT always expects an X server even i

Re: linux installed now what

2001-09-05 Thread Nathan Meyers
Also, you can find user groups with helpful, knowledgeable users in many cities. They will be better at getting you started as a Linux user than the Blackdown mailing list. Nathan On Wed, Sep 05, 2001 at 10:30:43AM +0200, Wim-Jan Hilgenbos wrote: > On Tue, Sep 04, 2001 at 10:00:51PM -0400, vija

Re: jdk on linux

2001-08-22 Thread Nathan Meyers
On Wed, Aug 22, 2001 at 05:39:03PM +0800, Sam (Ying-Hsien Ku) wrote: > Hi all, > I have installed jdk1.2.2 on Mandrake 7.0 > > However, > [root@linuxsam jdk1.2.2]# javac > Error: can't find libjava.so. > [root@linuxsam jdk1.2.2]# > > I just find the file on /home/sam/jdk1.2.2/jre/lib/i386/libjav

Re: JVM for Linux

2001-08-17 Thread Nathan Meyers
On Fri, Aug 17, 2001 at 05:31:49AM -0700, BERNARDES,JOAN (Non-HP-Brazil,ex1) wrote: > Hi all, > Somebody knows what is the best JVM for Linux? I mean a JVM that is > fast, small and support Swing. All three of the 1.3.x JVMs (Blackdown, Sun, IBM) work and support Swing. None of them i

Sun on Java and Open Source

2001-07-29 Thread Nathan Meyers
ible clones of Java technology. When that happens, we will be able to make it fully open source. We will open Java technology when it's possible for us to do so. We've said that before, and we're saying it now. Nathan Meyers [EMAIL PROTECTED] --

Re: Sun on Java and Open Source

2001-07-29 Thread Nathan Meyers
Forgot to mention the URL: http://java.sun.com/features/2001/07/oscon01.html On Sun, Jul 29, 2001 at 09:49:30AM -0700, Nathan Meyers wrote: > Sun's Java Web site recently posted its own spin on the Microsoft/Open > Source debate at the O'Reilly Open Source conference

Re: Running an executable from Java

2001-07-28 Thread Nathan Meyers
On Sat, Jul 28, 2001 at 05:57:25AM -0700, bhuvaneswari thirumoorthy wrote: > hi, > I am using JDK1.2.2 with RedHat Linux6.2.2. I would > like to run an executable from a java program.For eg: > I am using the following command: > > Runtime r=Runtime.getRuntime(); > r.exec("sh /home/test/./javacon"

Re: Thread Scheduling Policy - Thread.yield

2001-07-24 Thread Nathan Meyers
On Tue, Jul 24, 2001 at 01:26:01PM -0400, Kazuhiro Minami wrote: > Hello, > > I would like to know the "exact" thread scheduling policy in JDK on > linux > based on a native thread model. Linux applications have very little control over how kernel threads are scheduled - the only mechanism

Re: zip utility

2001-06-13 Thread Nathan Meyers
On Wed, Jun 13, 2001 at 02:44:51PM -0500, Steven Rubenstein wrote: > does anyone know of a zip (not gzip or bzip2) utility that will run in > linux? i ask this since sun publishes their html jdk documentation as a > zip file. (on the other hand, is the documentation for the jdk 1.3.1 > availa

Re: Mouse click on title bar

2001-06-11 Thread Nathan Meyers
On Mon, Jun 11, 2001 at 12:29:24AM -0700, brEezE wrote: > Hi, is there a way that i can catch the event when > user click on the title bar of a > JFrame/JInternalFrame? Definitely not for JFrame - that's under control of the windowing system, not Java, and the windowing system doesn't pass that i

Re: CSS file and Servlet

2001-05-31 Thread Nathan Meyers
Messias wrote: > Hi all, > I'd like to know if it's possible to use .css file with servlets and if > it's, how can I do it ? > TIA, > Messias A .css is (usually) just a file. Your servlet engine needs to be configured to serve up files, and you need to place the .css somewhere the servlet engine

Re: Object sizes

2001-05-28 Thread Nathan Meyers
"John D. Mitchell" wrote: > >>>>> "Nathan" == Nathan Meyers <[EMAIL PROTECTED]> writes: > [...] > > The info from ps will be useless, but you can get a ballpark figure by > > computing Runtime.totalMemory() - Runtime.freeMemory() (cal

Re: Object sizes

2001-05-28 Thread Nathan Meyers
Miloslaw Smyk wrote: > "John D. Mitchell" wrote: > > > > > "Miloslaw" == Miloslaw Smyk <[EMAIL PROTECTED]> writes: > > [...] > > > Just a quick question: how can I calculate amount of memory that is used > > > by an object running under JVM on Linux? > > > > There is an answer for this questi

Re: JDialog not visible

2001-05-23 Thread Nathan Meyers
Amol Kulkarni wrote: > Well I cant make out the reason behind this. > Now a real question :Is java 100% platform independant? I know its a > foolish question to ask after you have seen results like this. The core Java platform is platform-independent, but... - In any complicated spec, there are

Re: JDialog not visible

2001-05-23 Thread Nathan Meyers
Amol Kulkarni wrote: > Hi, > Following is a code which i use to invoke a JDialog on Red Hat 7.0 > using blackdowns jdk1.2.2. But the Dialog doesn't seem to be visible. > I see that it is being created at the status bar,but it still doesn't > show up > The same code works perfectly well on Windows

Re: waitFor after exec never returns

2001-05-18 Thread Nathan Meyers
Ellen Spertus wrote: > At 09:57 PM 5/18/2001 -0500, Joi Ellis wrote: > >Lynx is writing the rendered text to stdout, which you're reading and > >throwing away. Why not read it and write it to the file yourself? > > I thought doing it with redirection would be simpler, but apparently > not. I re

Re: jni link error

2001-05-15 Thread Nathan Meyers
Zhihong Pan wrote: > I need jni in my java application. I created a shared library, and set my library >path (export LD_LIBRARY=/home/mydir/), but I still get the following error >message:java.lang.UnsatisfiedLinkError: no java_gsapi in java.library.path. Could >anybody help me ? You need LD_

Re: jvm permissions question

2001-05-10 Thread Nathan Meyers
On Thu, May 10, 2001 at 02:03:36PM -0700, Joel Dudley wrote: > Hello all, > I have a security question for you all. We are going to have some java > processes running on our server and, for security reasons, we would prefer > that the JVM not run as root. However, due to the nature of our app an

Re: Off-screen Graphics

2001-05-05 Thread Nathan Meyers
On Sat, May 05, 2001 at 11:56:56AM +0100, Robbie Baldock wrote: > Can anyone confirm whether the Linux port of JDK 1.3 requires a > virtual X server (eg: Xvfb) to be running before being able to draw off- > screen graphics with a BufferedImage? Older versions certainly > needed this but I'm hop

Re: Stacktraces without line numbering?

2001-05-04 Thread Nathan Meyers
On Fri, May 04, 2001 at 02:29:01PM +0200, Lars Degerstedt wrote: > Hi all, > > I get stacktraces without line numbers (just "compiled code") for > Blackdown JDK 1.2, in spite of the fact that the source code is present. > > Any suggestions how to get the line numbers back? Run with JIT compila

Re: Why so many java instances when a Java app starts?

2001-05-02 Thread Nathan Meyers
On Wed, May 02, 2001 at 11:31:57AM -0400, kevin1 wrote: > When I start a java application on my Mandrake box, and I monitor it > using top, I notice that several java instances show up. Why is this? > It eats up a ton of my memory, and I don't see the reason for it, as > java is multithreaded. H

Re: font problems in text input

2001-05-02 Thread Nathan Meyers
On Wed, May 02, 2001 at 10:51:56AM -0500, Joi Ellis wrote: > On Wed, 2 May 2001, Nathan Meyers wrote: > > > The AWT seemed like a good idea at the time, but it has aged poorly. > > Even the most careful programmers have a hard time designing an app or > > applet

Re: font problems in text input

2001-05-02 Thread Nathan Meyers
On Wed, May 02, 2001 at 08:15:55AM -0400, Bruce Miller wrote: > Joi Ellis wrote: > > > > On Wed, 2 May 2001, Ole Jacob Taraldset wrote: > > > > > They are going to say why isn't the Linux jre compatible with the > > > windows version? > > > > No JRE in the world can compensate for lazy programm

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: X11 window error using swing package?

2001-04-25 Thread Nathan Meyers
On Wed, Apr 25, 2001 at 03:06:16PM +0800, Chao Liu wrote: > Is the asimov is your computer name in the net. But after I use export >DISPLAY=mycomputername:0.0 > error: > _X11TransSocketINETConnect: Can't connect: errno = 111 > _X11TransSocketINETConnect: Can't connect: errno = 111 > _X11TransSock

Re: System variable

2001-04-18 Thread Nathan Meyers
On Wed, Apr 18, 2001 at 11:37:46AM +0530, Vinod Lamba wrote: > Hi All, > > How you can get environment variable other than jvm's > while you are running a servlet. > > Say you set a variable "MYSYSTEM=file://we/weew" and now u want it thru > ur > servlet. Java has no methods to support this. Y

Re: getSystemClipboard != system clipboard

2001-04-15 Thread Nathan Meyers
PRIMARY buffer, you need to write some JNI code. Why doesn't AWT support the second one? Because most other platforms don't have a comparable feature. Nathan Meyers [EMAIL PROTECTED] On Sun, Apr 15, 2001 at 04:01:11PM -0500, Dick Repasky wrote: > > Why doesn't a call to

Re: Redhat 7.0 and JVM

2001-04-12 Thread Nathan Meyers
Have you updated glibc? Red Hat 7.0 shipped with a broken glibc; you can get an update from the Red Hat site. Nathan On Thu, Apr 12, 2001 at 11:53:54AM +0800, soonho wrote: > Hi all, > > Did anyone try to create JVM in RedHat 7.0 platform. I have no problem running my >JVM in RedHat 6.1 and

Re: JDK 1.3, Tomcat 3.2.1, and CLASSPATH settings....

2001-04-06 Thread Nathan Meyers
On Fri, Apr 06, 2001 at 01:18:59PM -0700, Jerry Asher wrote: > 1. What should JAVA_HOME be set to? JAVA_HOME isn't required for anything - it had an important role under JDK1.1, but that's no longer the case. The usual convention is that it points to the top of your SDK or JRE installation - tha

Re: trouble w/ JNI_CreateJavaVM in forked process

2001-04-03 Thread Nathan Meyers
I don't remember the details, but this has come up before. Check the mailing list archives... I vaguely recall that it was understood and solved. Nathan [EMAIL PROTECTED] wrote: > Using a user-mode-linux kernel as a test-bed, I'm trying to start a JavaVM > as the first process instead of init.

Re: Brutal X-Windows performance of Swing apps on slow links

2001-03-06 Thread Nathan Meyers
width X), which is something you set up completely outside Java, is a good way to improve X's bandwidth usage. Nathan Meyers [EMAIL PROTECTED] > > Steve > > > -- > To UNSUBSCRIBE, email to

Re: Trouble with CLASSPATH (JDK 1.2.2 on Linux)

2001-03-04 Thread Nathan Meyers
rces.jar:/usr/local/xerces/xercesSamples.java: Is that really a .java at the end, or do you mean .jar? Also, you probably need to export your classpath. You can do this after you set it: export CLASSPATH If you don't do this, your shell knows about CLASSPATH, but subprocesses (like java

Re: JNI and Threads

2001-02-23 Thread Nathan Meyers
Valerio Ferrucci wrote: > Hi, > I'm building a mutli thread C application using JNI and Invocation API to load > Java Virtual Machine and call Java code. > To launch a new thread I used the call: > > pthread_create > > Now that I link JNI, whit which call have I to substitute "pthread_create"? >

Re: Servlet API classes - where to place them?

2001-02-08 Thread Nathan Meyers
On Thu, Feb 08, 2001 at 12:16:46PM -0500, Jacob Nikom wrote: > Hi, > > I started to work with servlets and found that I need to download > Servlet API classes - servlet-2_2b.zip package. I have few questions > about this package. Servlets run fine on Linux. The question is what you are trying to

Re: MultiThreading

2001-02-04 Thread Nathan Meyers
Linux is a true multitasking system with support for kernel-based management and scheduling of threads in a multithreaded program. The JVMs available from Blackdown and Sun run, depending on launch options, with kernel-managed threads or user-space "green" threads. Nathan Meyers [EMAIL PR

Re: writing data to lp0

2001-02-01 Thread Nathan Meyers
On Wed, Jan 31, 2001 at 05:40:18PM -0500, Joseph Shraibman wrote: > Just open it like you would any other file. No... you need an extension that lets you drive the device. The JavaComm extension does this. A Linux version of JavaComm is available from the Blackdown site but, last I saw, serial su

Re: Fwd: Re: JRE as part of Linux

2001-01-23 Thread Nathan Meyers
g problems. It will take some thought to do it well - to integrate with the desktops' object model in the most effective and natural way - but doing so should provide a solution to some of the other problems you mentioned. Nathan > > -allen > [EMAIL PROTECTED] > > On Tue, Jan 23,

Re: Fwd: Re: JRE as part of Linux

2001-01-23 Thread Nathan Meyers
Yavor Kolarov wrote: > > There are some additional problems. > > If we have a wrapper starting all programs it has to be able to: > - open news windows and frames on a specific X terminal. ( User A running > Java application on localhost:0.0 and user B on localhost:1.0) > This raises the questio

Re: Does -Xrunhprof work correctly with Hotspot? Or does -green turn HotSpot off?

2001-01-19 Thread Nathan Meyers
ppored in Linux and that this is required to > generate profiling with HotSpot. I was hoping that one of the JVM > experts might respond to your question. > > Nathan Meyers wrote an article on profiling an provides a tool for > assisting in the analysis. He also covers this in his book

Re: JRE as part of Linux

2001-01-18 Thread Nathan Meyers
"Brett W. McCoy" wrote: > > On Thu, 18 Jan 2001, Yavor Kolarov wrote: > > > Recently an interesting question crossed my mind - is there a project for > > "emedding" JRE as part of Linux system. By embedding I mean starting it at > > system boot or the first time it's needed and keep it running,

Re: JDB hangs-up 1.3.0-FCS

2001-01-02 Thread Nathan Meyers
Larry Gates wrote: > Just to add my gripe on the NON-functionality of the j2sdk1.3.0 debugger: > > It hangs as well on my Slackware 7.1 system: glibc-2.1.3. > > I also upgraded my Xemacs version and I can't get JDE to work like it > used to: it hangs (obviously with j2sdk1.3.0) with the jdk1.2.2-

Re: OT: copying binary data with Reader/Writer (rather than Stream)

2000-12-31 Thread Nathan Meyers
noisebrain wrote: > Hello, > > (forgive me since this is mostly off topic, though the answer > might possibly be specific to the operating system.) > > I want to write a little java app to copy a url and its relative links. > The url itself is a text html file; some of the links may be binary > f

Re: Problems Running with -Xrunhprof

2000-12-28 Thread Nathan Meyers
les/GUI/perfanal/ . Nathan Meyers [EMAIL PROTECTED] http://www.javalinux.net > > > java -Xrunhprof:cpu=times HelloWorld > > Then, I get the following error. > > # > # HotSpot Virtual Machine Error, Internal Error > # Please report this error at > # http://java.

Re: What are the disadvantages of using jikes instead of javac?

2000-12-19 Thread Nathan Meyers
Juergen Kreileder wrote: > >>>>> "Nathan" == Nathan Meyers <[EMAIL PROTECTED]> writes: > > Nathan> I used to believe that until I tried, some months back, a > Nathan> side-by-side comparison of some benchmark code compiled by >

Re: Running a Java Swing program at boot

2000-12-19 Thread Nathan Meyers
"Jesus M. Salvo Jr." wrote: > I believe the above is NOT possible, because of the requirement for X, > but just to be sure... > > I don't have a problem running a Java Swing-less and AWT-less program at > boot time, ... but is there a way to have a Java Swing program, > therefore requiring X, to

Re: What are the disadvantages of using jikes instead of javac?

2000-12-18 Thread Nathan Meyers
Mo DeJong wrote: > On Mon, 18 Dec 2000, Joseph Shraibman wrote: > > > In at least a few instances that I know of, jikes produces slower code. > > But I don't think javac is a really great optimizing compiler either. > > That does not matter. Java code should be optimized by > the JIT not the Java

Re: Unable to run SUn Java JDK v 1.3.0 on Linux

2000-12-18 Thread Nathan Meyers
KIRKBRIDE Rob wrote: > This may be a daft question but you have got the directory in your path? > Or if you are in the actual directory the current directory (ie. a period mark)? > > Try ./java and see if this works. Better yet, try executing "/usr/local/jdk1.3/bin/java" from any directory, or a

Re: Request: No more generic Java questions

2000-12-09 Thread Nathan Meyers
Matt Welsh wrote: > I am also counting all of the responses. The following threads in the > last month or so I consider unrelated to Linux: Matt, I think you're giving short shrift to those who are moving to Linux from doing Java on other platforms - a prime audience for this list. A few of the

Re: Ports below 1024

2000-12-08 Thread Nathan Meyers
You've hit a "feature" of Linux threading... you'll find some past discussion in the mail archives. No easy fix, unfortunately. Nathan On Fri, Dec 08, 2000 at 10:09:38AM -0800, Nissyen wrote: > Hi, I was wondering if someone could help me with the following problem: > > I have a program which

Re: UnknownHostException

2000-12-08 Thread Nathan Meyers
ing entry in /etc/hosts, or it may be that you need to point to a nameserver with a "nameserver" entry in /etc/resolv.conf - hard to know without knowing where the name is supposed to come from. Hope that points you in the right direction. Nathan Meyers [EMAIL PROTECTED]

Re: How do I turn off HotSpot?

2000-11-28 Thread Nathan Meyers
On Tue, Nov 28, 2000 at 02:38:21PM -0600, Barnet Wagman wrote: > Excuse the trivial question, but I need to turn off HotSpot and neither > 'java -help' nor 'java -X' list a 'compiler option. You can turn off hotspot compilation with: java -Djava.compiler= ... You can run the pre-hotspot VM

Re: compiler for C source to Java bytecode

2000-11-23 Thread Nathan Meyers
Suru Dissanayake wrote: > Hi! > > I have found a couple of: > Decompilers: from Java bytecodes to C source > Converters: from Java source to C source > Decompilers (to Java): from Java bytecodes to Java source > > But does anyone know anything about a compiler for C source to Java > bytecode? > (

Re: Hot Spot crashes

2000-11-22 Thread Nathan Meyers
On Wed, Nov 22, 2000 at 03:50:05PM +0100, Jochen Witte wrote: > Hello everybody, > we`re using the j2sdk-1.3.0-FCS with Resin 1.1.5 (Java-Servlet-Engine) > and Apache 1.3.14 on a SuSE7.0-Machine. > Under higher load, the Servlet Engine reports: > > # HotSpot Virtual Machine Error, Internal Error

Re: How do you get to process list ?(ps auwwx in Java)

2000-11-21 Thread Nathan Meyers
On Tue, Nov 21, 2000 at 03:37:48PM +, Peter Pilgrim wrote: > > Ok you've convinced me to look at `info proc' or `man proc' latter tonight. > [OT]: How on earth do they this on Solaris? There's no standard solution - not surprising, given this data's tight coupling with the kernel. Various Un

Re: How do you get to process list ?(ps auwwx in Java)

2000-11-21 Thread Nathan Meyers
On Tue, Nov 21, 2000 at 01:21:38PM +, Peter Pilgrim wrote: > > Yep that's one way. > > How do you find out what process details (uid, gid, terminal id, command line, >environment variables) > are apart from just `ls /proc' There's lots of info in the /proc man page. For example, each proce

Re: Window handle in JAWT

2000-11-17 Thread Nathan Meyers
On Fri, Nov 17, 2000 at 02:32:38PM -0500, [EMAIL PROTECTED] wrote: > I'm using the JAWT from 1.3 to do some native drawing. Under windows, > getting the handle to the window is easy: > > dsi_win32 = (JAWT_Win32DrawingSurfaceInfo*)dsi->platformInfo; > glHDC = dsi_win32->hdc; > glHWn

Re: localhost ip

2000-11-16 Thread Nathan Meyers
[EMAIL PROTECTED] wrote: > dear all >how can i get the localhost ip in java . InetAddress.getLocalHost() Nathan > >thanks > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Troub

Re: jar in blackdown

2000-11-14 Thread Nathan Meyers
On Tue, Nov 14, 2000 at 03:42:06PM -0500, Francisco Gongora wrote: > Hello: > We are trying to run a jar file in Linux with jdk of Blackdown: > > java -jar Jarfile.jar > > but we have error saying -jar is not valid option. Is there any way to run > a .jar using jdk of Blackdown?

  1   2   3   4   5   6   >