On Thu, 3 Jun 1999 10:11:41 -0400, Philip L. Butler wrote:

>Hi,
>
>I just joined the list this morning and have already seen lots of good info !!
>
>I am trying to bring up Java on a Slackware 2.0.33 system without X. 
>My eventual goal is to install the JSDK (Java Servlet Dev. Kit) and 
>mod_jserv to work with Apache.  I have Apache installed and 
>configured.
>
>My problem is that when I try to run Java after installing it 
>(jdk117_v1a), it stops fairly quickly because it can't find an X 
>library.  Since my goal is to run servlets (without AWT), I should 
>(??) be able to run on a system without X.  Is there a way to run 
>Java without X ??

Well, you can update to the JDK 1.1.7 v3 which will automatically notice
that you don't have X up and running or you can set the environment
variable NS_JAVA to true such as:

        export NS_JAVA=true

With the JDK 1.1.7 v3 release it looks for the DISPLAY variable and
will automatically set NS_JAVA if DISPLAY is not set.

>A separate question is that I tried to install the jdk-1.1.7-v3.diffs 
>but it gave errors right off.  Anyone with clues on this also ??

The JDK diffs file is the diffs from the Sun source code - it is not
a diff from v1a to v3.


Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to