jdk on linux

2001-08-22 Thread Sam (Ying-Hsien Ku)



Hi all,
I have installed jdk1.2.2 on Mandrake 7.0
 
However,
[root@linuxsam jdk1.2.2]# javacError: can't find 
libjava.so.[root@linuxsam jdk1.2.2]#
 
I just find the file on 
/home/sam/jdk1.2.2/jre/lib/i386/libjava.so.
 
What should I do?
thank you all~


full screen application window

2001-08-22 Thread Stu Wier

How do you make a stand-alone Java application window that on start-up

1. automatically fills the entire screen on whatever system it is on;

2. has no border, such as the border JFrame has.

Stu

-- 

Stuart Wier  UCAR Unidata Program
[EMAIL PROTECTED]   P.O. Box 3000
http://www.unidata.ucar.edu/staff/wier  Boulder, CO 80307


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




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/libjava.so.
> 
> What should I do?

You should:

- Be in a directory outside the jdk1.2.2 tree, and

- Run the executables found in the jdk1.2.2/bin subdirectory.

You can run those executables either by putting that directory in your
path or by naming the full path of the executable. Two things that *do
not work* are:

- Directly running the executables in the jdk1.2.2/bin/i386/green_threads/
  or jdk1.2.2/bin/i386/native_threads/ directories, or

- Creating a symlink somewhere else to the executables.

Nathan


> thank you all~
> 

-- 


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




Re: jdk on linux

2001-08-22 Thread Juergen Kreileder

Nathan Meyers <[EMAIL PROTECTED]> writes:

> 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]#

(You might want to try 1.3.1.)

>> I just find the file on /home/sam/jdk1.2.2/jre/lib/i386/libjava.so.
>> 
>> What should I do?
> 
> You should:
> 
> - Be in a directory outside the jdk1.2.2 tree, and
> 
> - Run the executables found in the jdk1.2.2/bin subdirectory.
> 
> You can run those executables either by putting that directory in
> your path or by naming the full path of the executable. Two things
> that *do not work* are:
> 
> - Directly running the executables in the
>   jdk1.2.2/bin/i386/green_threads/ or
>   jdk1.2.2/bin/i386/native_threads/ directories, or

If this doesn't help, send the output of 
'sh -x /bin/java'.

> - Creating a symlink somewhere else to the executables.

Actually that should work:

,
| % cd /tmp
| % ln -s ~/testbed/jdk1.2.2/bin/java
| % ./java -version
| java version "1.2.2"
| Classic VM (build Linux_JDK_1.2.2_FCS, native threads, sunwjit)
`


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Run Java 2 SE v1.3.1 on your iPAQ:
http://www.handhelds.org/pipermail/ipaq/2001-June/007221.html


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