Hmmm... you may have some difficulty with this. In Eterm, for example,
(not Java, I know, but it's a good example of this) the application
basically just queries the root window of the display for its
background, gets a clip region of the background based on the
application's geometry and such, an
Yeah... I think it is in com.sun.plaf.DefaultLookAndFeel or something like
that.
On Fri, 8 Oct 1999, Jacob Nikom wrote:
> Do you know where the information about
> current settings is located?
>
> Jacob
>
> [EMAIL PROTECTED] wrote:
> >
> > hmmm... if that doesn't work, you might try overridi
Okay, here's how I understand the Blackdown builds of the VM: there is a
fully dynamic version and a static version. To switch between them, you
set an environment variable (I think). If you want to use the
dynamically-linked VM, you have to have both X and Motif shared
libraries on your system.
Maybe read the documentation on the sun site about Java and then look at the
docs on the servlet api and how to do some of the stuff. It seems that you
aren't grasping the basics of the tools of the java language.
Your last question exhibits that exception because there isn't supposed to be a
ma
try this http://java.sun.com/docs/books/tutorial/native1.1/
maybe it can help.
-Mensagem original-
De: Jacob Nikom <[EMAIL PROTECTED]>
Para: Rogério Garibalde Miranda <[EMAIL PROTECTED]>
Cc: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Data: Sexta-feira, 8 de Outubro de 1999 18:03
Assunto: Re
Hi,
Be careful - that code snippet can cause deadlock, ie, execSystemCommand
will never return, at least on some systems. This is caused by an
undocumented "feature": there are output streams coming from the Process
object, and if these streams' buffers fill up, execution will stop until
someon
> Matt Welsh writes:
Matt> I have a simple Java program where 2 threads spin in a tight
Matt> loop each grabbing the same lock and releasing it. This is
Matt> on Linux x86 and has been tested using GCJ 2.95.1, Blackdown
Matt> JDK 1.1.7v3 (native threads), and IBM JDK 1.1.8 (na
Juergen,
You are absolutely right. This one was staring me right in the face
and I didn't even know it; the C program now runs about as badly as the
Java program (I suppose this is a good thing, no?) The only change was
the do a pthread_join() rather than a busy loop in the main thread.
Thanks
Group,
Newbie here.. I want to run an ASP
application that required the JDK to run. How do I know if the JDK has been
installed properly? I am running Redhat 6.0 on an intel.. Downloaded software
and 'I think' it is installed properly. What is a test I can run ?
java.servlet is not in the base distributionYou need to go to javasoft
and download the JSWDK and then include the libs in there to compile your
app
Brian
On Fri, 8 Oct 1999, Don Hatch wrote:
> I'm new to java on Linux but have experience with programming
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
Thanks to everyone that helped me with my last problem but now I get this
error when I run java (compiles file):
Exception in thread "main" java.lang.NoSuchMethodError : main
I thought it was my code, but I've tried it with example servlets from both
the jserv implementation as well as the jsdk
Hi folks,
I have a simple Java program where 2 threads spin in a tight loop each
grabbing the same lock and releasing it. This is on Linux x86 and has been
tested using GCJ 2.95.1, Blackdown JDK 1.1.7v3 (native threads), and
IBM JDK 1.1.8 (native threads). Note that I am on an SMP system (IBM
On Fri, 8 Oct 1999, [iso-8859-1] Rogério Garibalde Miranda wrote:
> How can I make a call to an API of the linux using java? I want to add an
> user to the linux, for example. thank you.
>
I think the following method may be useful:
public int execSystemCommand(String cmdLine)
throws Inter
If you have to call C routine from Java, use JNI.
It works well under Java on Linux.
Jacob Nikom
Rogério Garibalde Miranda wrote:
>
> How can I make a call to an API of the linux using java? I want to add an
> user to the linux, for example. thank you.
>
> Rogerio G Miranda
>
> --
Rogério Garibalde Miranda wrote:
>
> How can I make a call to an API of the linux using java? I want to add an
> user to the linux, for example. thank you.
>
> Rogerio G Miranda
If you want to call native C/C++ APIs, you'll need to use the Java
Native Interface to write a native method that acc
Do you know where the information about
current settings is located?
Jacob
[EMAIL PROTECTED] wrote:
>
> hmmm... if that doesn't work, you might try overriding the PLAF for that
> component.
>
> On Thu, 7 Oct 1999, Jacob Nikom wrote:
>
> > Hi,
> >
> > I am trying to change the font style and
How can I make a call to an API of the linux using java? I want to add an
user to the linux, for example. thank you.
Rogerio G Miranda
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Cont
You dont have the JDSK classes in your classpath.
They can be downloaded from sun if you dont have them.
Add it in and things will work fine.
--shawn
Don Hatch wrote:
>
> I'm new to java on Linux but have experience with programming java on
> Windows. I'm having some problems compiling servlets
On Thu, Oct 07, 1999 at 11:18:43PM +0100, Rachel Greenham wrote:
> Paolo Ciccone wrote:
> >
> > On Thu, Oct 07, 1999 at 10:49:58AM -0700, Dan Iuster wrote:
> > > RedHat has just released the 6.1 version of Linux. I am curious if
> > > anyone has had any experience with the 1.1.7, 1.1.8 or 1.2 JD
hmmm... if that doesn't work, you might try overriding the PLAF for that
component.
On Thu, 7 Oct 1999, Jacob Nikom wrote:
> Hi,
>
> I am trying to change the font style and size on some
> of the Swing widgets, mostly JSlider (tick marks numbers), TabbedPanes
> (tab names), etc. You cannot not
I'm new to java on Linux but have experience with programming java on
Windows. I'm having some problems compiling servlets. When I run javac on
simple servlets it complains saying that it can't find javax.servlet or
javax.servlet.http or Superclass HttpServlet. I'm using Debian 2.1 and
jdk1.2 H
Ola Samuelson wrote:
>
> Hi!
> I am moving servlets accessing databases(jdbc) to Linux plattform with
> Apache(jserv) and I am unsure
> whether this will work or not.
>
> I am using a lot of com.borland.dx classes as well as others.
> Speaking generally: Will it work, provided that I also move
Godmar Back wrote,
> Miles Sabin wrote,
> > [snip: className.class vs Class.forName("className")]
>
> In other words, you're saving a try/catch clause at the
> expense of one hidden static variable.
Hmm ... well, a litte more than that. The lookup is done
only once (to initialize the static).
St
Hi!
I am moving servlets accessing databases(jdbc) to Linux plattform with
Apache(jserv) and I am unsure
whether this will work or not.
I am using a lot of com.borland.dx classes as well as others.
Speaking generally: Will it work, provided that I also move required
classes?
I guess that my que
> 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
26 matches
Mail list logo