j2sdk1.3.1 + libc6 problem

2002-12-11 Thread Sobkowiak Krzysztof
Hallo

Is it possible that I'll can use again j2sdk1.3.1 with Debian (Sid) in
nearest future?

-- 
Sobkowiak Krzysztof <[EMAIL PROTECTED]>
BTU-Cottbus



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: java from sun: installation problem

2002-12-11 Thread Jan Krupa


On Tue, 10 Dec 2002, [iso-8859-1] Francois BOTTIN wrote:

>  --- Jan Krupa <[EMAIL PROTECTED]> a écrit : 
> > 
> > Exception in thread "main" java.lang.UnsatisfiedLinkError:
> > /usr/local/java/j2sdk1.4.1_01/jre/lib/i386/libfontmanager.so:
> > libstdc++-libc6.1-1.so.2: cannot open shared object file: No such
> > file or directory
> 
> Simply install the file libstdc++-libc6.1-1.so.2
> 
>(http://packages.debian.org/cgi-bin/search_contents.pl?word=libstdc%2B%2B-libc6.1-1.so.2&searchmode=searchfiles&case=insensitive&version=stable&arch=i386&directories=yes)

I have installed libstdc++2.9-glibc2.1_2.91.66-4.deb package.
Have still some problem:

I tried to compile the following file:
/*
Hello.java
*/
import java.awt.*;

public class Hello extends Frame {
  public static void main(String argv[])
  {
new Hello();
  }
  Hello() {
Label hello =
 new Label("Hello World");
add(hello, "Center");
setSize(200, 200);
setVisible(true);
  }
}

javac Hello.java
java Hello

and got the following message:

2002-12-10 18:19:48 java.util.prefs.FileSystemPreferences$3 run
WARNING: Could not create system preferences directory. System preferences
are unusable.

Any clue?

Jan

> 
> Francois.
> 
> PS: this question is a FAQ...
> 
> =


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




Re: j2sdk1.3.1 + libc6 problem

2002-12-11 Thread Ola Lundqvist
On Wed, Dec 11, 2002 at 12:15:41PM +0100, Sobkowiak Krzysztof wrote:
> Hallo

Hi

> Is it possible that I'll can use again j2sdk1.3.1 with Debian (Sid) in
> nearest future?

No it will never(?) work. Use j2sdk1.4 instead.

Regards,

// Ola

> -- 
> Sobkowiak Krzysztof <[EMAIL PROTECTED]>
> BTU-Cottbus



-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://www.opal.dhs.org UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---


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




Re: java from sun: installation problem

2002-12-11 Thread Yven Leist
On Wednesday 11 December 2002 11:19, Jan Krupa wrote:
> On Tue, 10 Dec 2002, [iso-8859-1] Francois BOTTIN wrote:
> >  --- Jan Krupa <[EMAIL PROTECTED]> a écrit :
>I tried to compile the following file:
[..]
>
> and got the following message:
>
> 2002-12-10 18:19:48 java.util.prefs.FileSystemPreferences$3 run
> WARNING: Could not create system preferences directory. System preferences
> are unusable.

See http://www.mail-archive.com/java-linux@java.blackdown.org/msg15009.html
(Summary: run java as root once.)

Cheers,
Yven

-- 

Yven Johannes Leist - [EMAIL PROTECTED]
http://www.leist.beldesign.de


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




Re: j2sdk1.3.1 + libc6 problem

2002-12-11 Thread Juergen Kreileder
Ola Lundqvist <[EMAIL PROTECTED]> writes:

> On Wed, Dec 11, 2002 at 12:15:41PM +0100, Sobkowiak Krzysztof wrote:

>> Is it possible that I'll can use again j2sdk1.3.1 with Debian (Sid)
>> in nearest future?
> 
> No it will never(?) work. Use j2sdk1.4 instead.

We'll make a fixed 1.3.1 version after we've released 1.4.1_01.


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/


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




Java Policy Typos

2002-12-11 Thread Ahmed
I am running an unstable Debian.

I have "apt-get"ed source java-common.
It was version 0.16.

A typo make it invalid XML.
References to the Debian policy do not seem correct.

I propose the attached patch.



--- policy.xml  2002-12-12 02:42:18.0 +0100
+++ policy.xml  2002-12-12 03:32:28.0 +0100
@@ -133,7 +133,7 @@
environment.
   
   
-   I &should; use /etc/alternatives
+   They &should; use /etc/alternatives
for the name 'java' if they are command-line compatible with the
Sun's java program.
   
@@ -155,7 +155,7 @@
   
Java compilers &must; provide &jc; and/or &j2c; and depend on
java-common. They &must; also depend on the needed runtime environemnt
-   (&j1r and/or &j2r;).
+   (&j1r; and/or &j2r;).
   
   
   
@@ -175,11 +175,11 @@
/usr/bin and be executable. They can be Java
classes (using binfmt_misc) or wrappers. In any case, they &must; run
without specific environment variables (see
-   http://www.debian.org/doc/debian-policy/ch3.html#s3.8";>Policy
- 3.8), for instance CLASSPATH. They &must; respect the Policy
+   http://www.debian.org/doc/debian-policy/ch-opersys.html#s10.9";>Policy
+ 10.9), for instance CLASSPATH. They &must; respect the Policy
rules for executables (for instance a manual page per executable, see
-   http://www.debian.org/doc/debian-policy/ch6.html#s6.1";>
- Policy 6.1).
+   http://www.debian.org/doc/debian-policy/ch-docs.html#s13.1";>
+ Policy 13.1).
   
   
 If they have their own auxiliary classes, they
@@ -324,8 +324,8 @@
   

  Sun's Community Source Licence. Can we use it? How?
- Where can we http://www.sun.com/software/communitysource/faq.html";>
-   find the text?
+ The 2.3 version of the text can be found 
+ http://wwws.sun.com/software/java2/license.html";>here.

   
 
@@ -370,7 +370,7 @@
 Advices to Java packagers
 
 
-  Warning: they are just advices, they are not part of the policy.
+  Warning: These are just advices, they are not part of the policy.
 
 
 



Re: Java plugin with mozilla 1.1

2002-12-11 Thread Thomas J. Zeeman


On Tue, 10 Dec 2002, Tom Badran wrote:

> On Tuesday 10 Dec 2002 7:20 pm, Miguel Rubio wrote:
> > Does someone know what's happening, and how to solve it ?
>
> Upgrade mozilla. Mozilla built against old glibc wont work with java.

Nor will any sun/blackdown java < 1.4 work with any libc6 > 2.3 [0]
Updating your java version to >= 1.4 should fix this problem.

regards,
Thomas

[0] See the archives...
-- 

- I'm not cheap, but I am on special this week




j2sdk1.3.1 + libc6 problem

2002-12-11 Thread Sobkowiak Krzysztof
Hallo

Is it possible that I'll can use again j2sdk1.3.1 with Debian (Sid) in
nearest future?

-- 
Sobkowiak Krzysztof <[EMAIL PROTECTED]>
BTU-Cottbus


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: java from sun: installation problem

2002-12-11 Thread Jan Krupa


On Tue, 10 Dec 2002, [iso-8859-1] Francois BOTTIN wrote:

>  --- Jan Krupa <[EMAIL PROTECTED]> a écrit : 
> > 
> > Exception in thread "main" java.lang.UnsatisfiedLinkError:
> > /usr/local/java/j2sdk1.4.1_01/jre/lib/i386/libfontmanager.so:
> > libstdc++-libc6.1-1.so.2: cannot open shared object file: No such
> > file or directory
> 
> Simply install the file libstdc++-libc6.1-1.so.2
> (http://packages.debian.org/cgi-bin/search_contents.pl?word=libstdc%2B%2B-libc6.1-1.so.2&searchmode=searchfiles&case=insensitive&version=stable&arch=i386&directories=yes)

I have installed libstdc++2.9-glibc2.1_2.91.66-4.deb package.
Have still some problem:

I tried to compile the following file:
/*
Hello.java
*/
import java.awt.*;

public class Hello extends Frame {
  public static void main(String argv[])
  {
new Hello();
  }
  Hello() {
Label hello =
 new Label("Hello World");
add(hello, "Center");
setSize(200, 200);
setVisible(true);
  }
}

javac Hello.java
java Hello

and got the following message:

2002-12-10 18:19:48 java.util.prefs.FileSystemPreferences$3 run
WARNING: Could not create system preferences directory. System preferences
are unusable.

Any clue?

Jan

> 
> Francois.
> 
> PS: this question is a FAQ...
> 
> =




Re: j2sdk1.3.1 + libc6 problem

2002-12-11 Thread Ola Lundqvist
On Wed, Dec 11, 2002 at 12:15:41PM +0100, Sobkowiak Krzysztof wrote:
> Hallo

Hi

> Is it possible that I'll can use again j2sdk1.3.1 with Debian (Sid) in
> nearest future?

No it will never(?) work. Use j2sdk1.4 instead.

Regards,

// Ola

> -- 
> Sobkowiak Krzysztof <[EMAIL PROTECTED]>
> BTU-Cottbus



-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://www.opal.dhs.org UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---




Re: java from sun: installation problem

2002-12-11 Thread Yven Leist
On Wednesday 11 December 2002 11:19, Jan Krupa wrote:
> On Tue, 10 Dec 2002, [iso-8859-1] Francois BOTTIN wrote:
> >  --- Jan Krupa <[EMAIL PROTECTED]> a écrit :
>I tried to compile the following file:
[..]
>
> and got the following message:
>
> 2002-12-10 18:19:48 java.util.prefs.FileSystemPreferences$3 run
> WARNING: Could not create system preferences directory. System preferences
> are unusable.

See http://www.mail-archive.com/java-linux@java.blackdown.org/msg15009.html
(Summary: run java as root once.)

Cheers,
Yven

-- 

Yven Johannes Leist - [EMAIL PROTECTED]
http://www.leist.beldesign.de




Re: j2sdk1.3.1 + libc6 problem

2002-12-11 Thread Juergen Kreileder
Ola Lundqvist <[EMAIL PROTECTED]> writes:

> On Wed, Dec 11, 2002 at 12:15:41PM +0100, Sobkowiak Krzysztof wrote:

>> Is it possible that I'll can use again j2sdk1.3.1 with Debian (Sid)
>> in nearest future?
> 
> No it will never(?) work. Use j2sdk1.4 instead.

We'll make a fixed 1.3.1 version after we've released 1.4.1_01.


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/




Java Policy Typos

2002-12-11 Thread Ahmed
I am running an unstable Debian.

I have "apt-get"ed source java-common.
It was version 0.16.

A typo make it invalid XML.
References to the Debian policy do not seem correct.

I propose the attached patch.


--- policy.xml  2002-12-12 02:42:18.0 +0100
+++ policy.xml  2002-12-12 03:32:28.0 +0100
@@ -133,7 +133,7 @@
environment.
   
   
-   I &should; use /etc/alternatives
+   They &should; use /etc/alternatives
for the name 'java' if they are command-line compatible with the
Sun's java program.
   
@@ -155,7 +155,7 @@
   
Java compilers &must; provide &jc; and/or &j2c; and depend on
java-common. They &must; also depend on the needed runtime environemnt
-   (&j1r and/or &j2r;).
+   (&j1r; and/or &j2r;).
   
   
   
@@ -175,11 +175,11 @@
/usr/bin and be executable. They can be Java
classes (using binfmt_misc) or wrappers. In any case, they &must; run
without specific environment variables (see
-   http://www.debian.org/doc/debian-policy/ch3.html#s3.8";>Policy
- 3.8), for instance CLASSPATH. They &must; respect the Policy
+   http://www.debian.org/doc/debian-policy/ch-opersys.html#s10.9";>Policy
+ 10.9), for instance CLASSPATH. They &must; respect the Policy
rules for executables (for instance a manual page per executable, see
-   http://www.debian.org/doc/debian-policy/ch6.html#s6.1";>
- Policy 6.1).
+   http://www.debian.org/doc/debian-policy/ch-docs.html#s13.1";>
+ Policy 13.1).
   
   
 If they have their own auxiliary classes, they
@@ -324,8 +324,8 @@
   

  Sun's Community Source Licence. Can we use it? How?
- Where can we http://www.sun.com/software/communitysource/faq.html";>
-   find the text?
+ The 2.3 version of the text can be found 
+ http://wwws.sun.com/software/java2/license.html";>here.

   
 
@@ -370,7 +370,7 @@
 Advices to Java packagers
 
 
-  Warning: they are just advices, they are not part of the policy.
+  Warning: These are just advices, they are not part of the policy.