Java3D vs. tya

1999-07-01 Thread Johan

Having a problem using 'tya' (JIT-complier) with 'Java3D'.
'tya' works fine in all other applications, i.e non-Java3D-apps.

This is the error message I get:

Exception in thread "main" java.lang.UnsatisfiedLinkError: chooseOglVisual
at
javax.media.j3d.NativeConfigTemplate3D.getBestConfiguration(Compiled Code)
at javax.media.j3d.Canvas3D.(Compiled Code)
at Bboard.(Compiled Code)
at Bboard.main(Compiled Code)


Any ideas?

/Johan





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



Re: Problems on Sparc; redhat 5.1

1998-11-02 Thread Johan Vos

Red Hat 5.1 on Sparc uses glibc, while the JDK-port for sparclinux is
built using libc-5 (which was distributed with Red Hat 4.x).
I was working on a glibc-port (http://www.sesuadra.org/~jdk), but since
JDK 1.2 is due to be out soon, I think it is better to work on a JDK 1.2
port for sparclinux glibc.

- Johan


Nothing vanishes without a trace



Re: jdk1.1.6 (sparc) dumping core

1999-01-19 Thread Johan Vos

Concerning the problems with JDK 1.1.6 on sparclinux:
The binary in the distribution is built on a libc5-system, while Red Hat
5.2 comes with glibc. If you have the corresponding libs installed on your
RH 5.2 system, the thing should work however.
JDK 1.2 will be built on a glibc-system, so you probably won't have
problems running JDK 1.2. 

When I ldd the libc5 executable from a glibc-system, I got this:
tinukai-johan:/jdklibc/bin/sparc/green_threads> ldd java
libjava.so => not found
libm.so.5 => /lib/libm.so.5 (0x50003000)
libdl.so.1 => /lib/libdl.so.1 (0x5001e000)
libawt.so => not found
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x5003)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x50051000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x500b5000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x500db000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x500f4000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x50111000)
libc.so.5 => /lib/libc.so.5 (0x501d4000)
libc.so.6 => /lib/libc.so.6 (0x502c3000)
/lib/ld-linux.so.1 => /lib/ld-linux.so.2 (0x6000)

... and the thing works:
tinukai-johan:~/jtest> /jdklibc/bin/java HelloWorld
Hello World!




Nothing vanishes without a trace



Information of the glibc-2.1 status on the i386 platform

1999-04-11 Thread Johan Sundström

Hi

this is not a bugreport :). Still I'm having broblem to run the JDK-1.2
pre-v1
on a glibc-2.1 system. I found that someone has reported the same
problem as
I have and the mailinglist contains several posts regarding glibc-2.1
and JDK-1.2.

The response to the bugreport (id 430) was that a JDK-1.2 with support
for the glibc-2.1 would be uploaded within a few days. It was over a
month ago.
The solution was obviously not a trivial one. Could you please put up
some status about the glibc-2.1 problem/solution on www.blackdown.org
(or simply
make a short note in the README.html file that the jdk-1.2pre-v1 is
known not to work
with glibc-2.1

Thank you!

Regards,

Johan


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



Re: Java3D vs. tya

1999-07-02 Thread Johan Engström

On 1 Jul 1999, Steve Byrne wrote:

> Johan <[EMAIL PROTECTED]> writes:
> 
> > 
> > Having a problem using 'tya' (JIT-complier) with 'Java3D'.
> > 'tya' works fine in all other applications, i.e non-Java3D-apps.
> > 
> > This is the error message I get:
> > 
> > Exception in thread "main" java.lang.UnsatisfiedLinkError: chooseOglVisual
> > at
> > javax.media.j3d.NativeConfigTemplate3D.getBestConfiguration(Compiled Code)
> > at javax.media.j3d.Canvas3D.(Compiled Code)
> > at Bboard.(Compiled Code)
> > at Bboard.main(Compiled Code)
> 
> Does it work in your environment w/o tya?
> 
> Steve

Works fine!

/Johan


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



Re: Java3D vs. tya

1999-07-02 Thread Johan Engström

On Thu, 1 Jul 1999, Albrecht Kleine wrote:

> Hi,
> 
> > Having a problem using 'tya' (JIT-complier) with 'Java3D'.
> > 'tya' works fine in all other applications, i.e non-Java3D-apps.
> 
> Does ``non-Java3D-apps'' include other big apps like java2Demo, Swingset,
> some IDEs like NetBeans2 etc ?. If yes, we have a good basic.
> 
> Unfortunately I have not yet played with 3D. Perhaps you
> can give me some quick instruction HOWTO get, HOWTO install etc.
> 
> Of course you can tell ``RTFM'', but at all it's a question of 
> sparse time, and _except_ of the TYA-problem I am not yet interested 
> in 3D graphics. But may be, we'll catch the problem...
> 
> Cheers,
> Albrecht (TYA author)

I'm really new to Java3D myself, and the reason I need Java3D is that I
want to use the Java3D-VRML browser, so some x-tra speed wouldn't hurt...
Everything works fine if i don't use 'tya' but with 'tya' i get the
error message: 

Exception in thread "main" java.lang.UnsatisfiedLinkError: chooseOglVisual
at javax.media.j3d.NativeConfigTemplate3D.getBestConfiguration(Comiled
Code)
...
...
etc

Have just tried it with the demos following jdk1.2, and it works fine for
all of them. 

/Johan


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



java without x-libs

1999-12-15 Thread Johan Ekenberg

Hi!

Is there any possibility of installing/using javac et al. without
X-libraries?
I'm running a couple of dedicated www-servers without X, and want to be able
to compile/use purely textbased javaprograms, and compile www-applets.
Dist. is Slackware 4.0, tried with jdk-1.1.7 (libc5).

Forgive me if this has been asked before, I found nothing in the list
archives.

Best regards,
Johan Ekenberg


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



SV: java without x-libs

1999-12-16 Thread Johan Ekenberg

> The README for the JDK shows how to do this with the Blackdown version.
>
> In versions of the JDK 1.1.x that predate JDK 1.1.7v3 you need to set
> the NS_JAVA environment variable.
>
> As of JDK 1.1.7v3, the JDK will also support noticing that you do not
> have the DISPLAY environment set and thus will use the NS_JAVA setting.

Thank you! I actually read all the README-files, but I must have missed
exactly what I was looking for.

Next question:
Are there a statically compiled builds of the latest versions of Blackdown?
Slackware 4.0 doesn't have the latest glibc, and we aren't ready to upgrade
dist. for at least a few months. Running 1.1.7 feels like missing quite a
lot of fun (?).

/Johan Ekenberg


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



Re: How can I contact the Sparc port developers?

2000-05-03 Thread Johan Vos

Hi,

I do have an old SS5 somewhere that I used for the JDK 1.1 port. I will
try to get it over to my place, and give it some upgrades (it might take a
while though before I have it here). Can you send me your configuration
(glibc-version and kernel)?

- Johan

===
Johan Vos   [EMAIL PROTECTED]
Sesuad'ra Projects  http://www.sesuadra.org


On Wed, 3 May 2000, Avi Cherry wrote:

>   I've had a few problems with the sparc port of the Blackdown 
> JVM regarding threading issues and the HotSpot JIT.  I've sent a few 
> messages to this list already and have traversed the bug tracker 
> without any luck.  I did get a reply from a few people with 
> suggestions, but none of them helped.\
> 
> Would it be possible for one of the developers/maintainers of the 
> sparc port to contact me?
> 
> Since it appears that my software environment is identical to other 
> ones running Java without any problems at all (from the discussions 
> I've had with those that already replied to me), I've come to the 
> hypothesis that the issues might SOMEHOW be related to the hardware 
> I'm running on (a 40 Mhz Sparcstation 10.  Don't laugh. Please.).  I 
> figure it's probably a safe assumption that the majority of 
> development and testing has occurred on UltraSparc platforms, rather 
> than SuperSparcs (or whatever is in my Sparcstation).
> 
> In any case, I'd be more than happy to offer an account and space on 
> my server to one of the porting team members if they are interested 
> in ironing out a few wrinkles in the current release.
> 
> Thanks,
> Avi Cherry
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


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




RE: Segfault on Sparc20 with 1.2.2 RC4

2000-08-24 Thread Johan Vos

1.2.2RC4 for sparc will not run on glibc 2.0 systems. The latest build for
sparc glibc 2.0 is 1.2 prev3. 
Good luck,

- Johan

On Thu, 24 Aug 2000, TAZ Gravel, Emmanuel wrote:

> Sorry about that omission :) It's RH 6.1 for Sparc glibc 2.0 if I see
> it right. Kernel is 2.2.12-42
> 
> > -Original Message-----
> > From:   Johan Vos [SMTP:[EMAIL PROTECTED]]
> > Sent:   Thursday, August 24, 2000 11:36 AM
> > To: TAZ Gravel, Emmanuel
> > Cc: [EMAIL PROTECTED]
> > Subject:Re: Segfault on Sparc20 with 1.2.2 RC4
> > 
> > What distribution/kernel/glibc version are you running?
> > 
> > - Johan
> > 
> > On Thu, 24 Aug 2000, TAZ Gravel, Emmanuel wrote:
> > 
> > > I've installed RC4 of jdk-1.2.2 for sparc Linux. When I
> > > try to do java -version I get:
> > > 
> > > SIGSEGV  11*  segmentation violation
> > >  si_signo [0]: no signal
> > >  si_errno [0]: Success
> > > si_code [0]: SI_USER [pid: 0, uid: 0]
> > > 
> > > and I need to kill -9 the process. There are three threads
> > > running at that time, each parenting the other (first from
> > > the shell, second from the first...)
> > > 
> > > I installed from the .sh and from the .tar.bz2 files.
> > > Any ideas?
> > > 
> > > Another thing, for the list maintainers:
> > > The java.blackdown.org domain bounces back for
> > > me, so I need to send it directly at blackdown.org.
> > > Sais something about DNS not configured properly.
> > > Either there's no MX record or A record, or some
> > > other configuration problem...
> > > 
> > > Thanks!
> > > 
> > > Manu
> > > 
> > > 
> > > 
> > 
> > -- 
> > ===
> > Johan Vos   [EMAIL PROTECTED]
> > Sesuad'ra Projects  http://www.sesuadra.org
> > 
> 

-- 
===
Johan Vos   [EMAIL PROTECTED]
Sesuad'ra Projects  http://www.sesuadra.org




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




problems with java

2000-09-07 Thread Johan Groth

Hi,
After I installed 1.2.2 version of the JDK I tried to get a very simple
program to work. It looks like this:

/** file hello.java **/
/** --- **/

public class hello {
public static void main(String args[]) {
System.out.println("Hello, world");
}
}

I compiled it with 

$ /usr/local/jdk1.2.2/bin/javac hello.java

and tried to run it with:

$ /usr/local/jdk1.2.2/bin/java hello.class

and gets with following output:
$ Exception in thread "main" java.lang.NoClassDefFoundError: hello/class

Does anyone know what's going on here?

/Johan

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
   "Better to ask questions and seem stupid
than not to ask questions and remain stupid" -Unknown
   Johan Groth <[EMAIL PROTECTED]> Kupolen Data


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




Re: Continued support for SPARC

2001-02-04 Thread Johan Vos

On Sun, 4 Feb 2001, Dr. Simon Read wrote:

> Folks,
>
> I have a SPARC  Station 20 that I use as my  Web and Mail server.  I'm
> currently running the Blackdown JDK 1.2.2 on it.
>
> I'm wondering whether Blackdown has plans to continue support for Java
> on SPARC/Linux.  Anyone want to comment?

Yes, we will continue the SPARC/Linux port.

kr,

- Johan

===
Johan Vos   [EMAIL PROTECTED]
Sesuad'ra Projects  http://www.sesuadra.org



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




Re: j2sdk 1.3.0 for sparc-linux?

2001-05-23 Thread Johan Vos

Alex,

1.3 is running on sparc-linux but not packaged yet. I will try to package
it before JavaOne.

- Johan

On Wed, 23 May 2001, Alex Buell wrote:

> I really /need/ j2sdk 1.3.0 running on sparc-linux to run some java
> clients on my sparc box, what's the status on this one? The last news item
> dates back to September 2000 and there's been nothing new since. I do have
> j2sdk 1.2.2, but this doesn't seem to work with the client I'm using.
>
> I'm really desperate, I'll even help beta, or even alpha test sparc-linux
> j2sdk binaries. Or if you have no sparc boxes, I can help with that.
>
> System configuration:
>
> Linux kernel 2.2.19
> glibc 2.1.3
> binutils 2.10.1
> gcc 2.95.3
>
> not forgetting X11 - Xfree86 4.0.3.
>
> running on sparc32.
>
> Alex.
>

-- 
===
Johan Vos   [EMAIL PROTECTED]
Sesuad'ra Projects  http://www.sesuadra.org



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




Re: jdk 1.3.0 / sparc

2001-06-13 Thread Johan Vos

On Wed, 13 Jun 2001, Marcus Crafter wrote:

> Hi All,
>
>   Hope all is well.
>
>   We've just noticed that the Blackdown JDK 1.3.0 for sparc is available
>   and have installed it on our E250 system.

It should be on the mirrors now, indeed.

>   Great work, but I wanted to ask what performance expectations we
>   should have ? Our tests have shown that the Blackdown sparc JDK 1.2.2
>   is faster than the JDK 1.3.0 ? Could this be right ?
>
>   A compile of our Java application using JDK 1.2.2 takes about 1
>   minute, with the JDK 1.3.0 it takes about 4 minutes. :-(
>
>   Is this expected ? Any ideas about how to improve this ?

Yes, performance can be increased since:
1) there is currently no hotspot in sparc jdk 1.3.0
2) some parts were compiled without optimization in order to bypass a
compiler problem.

The intention was to go to 1.4 immediately, and to skip improvements on
1.3.0 or 1.3.1. Unless people really require it...

- Johan

===
Johan Vos   [EMAIL PROTECTED]
Sesuad'ra Projects  http://www.sesuadra.org



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




Re: Mozilla plugin on sparc-linux?

2001-07-15 Thread Johan Vos

Hi,

I had problems building the plugin in the 1.3.0 version for RH 6.2. I will
try to include it in a 1.3.1 release for RH 6.2

- Johan

On Thu, 12 Jul 2001, Alex Buell wrote:

> I just noticed in the sparc-linux distribution of J2SDK 1.3.0 that there
> is no plugin for Mozilla. Any plans to provide one? I have managed to
> copmpile and install Mozilla but would like to use the plugin for Mozilla.
>
>

-- 
===
Johan Vos   [EMAIL PROTECTED]
Sesuad'ra Projects  http://www.sesuadra.org



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




Re: Information of the glibc-2.1 status on the i386 platform

1999-04-12 Thread Johan R Sundstr|m

On 11 Apr 1999, Andreas Jaeger wrote:

>  > The response to the bugreport (id 430) was that a JDK-1.2 with support
>  > for the glibc-2.1 would be uploaded within a few days. It was over a
>  > month ago.
>  > The solution was obviously not a trivial one. Could you please put up
>  > some status about the glibc-2.1 problem/solution on www.blackdown.org
>  > (or simply
>  > make a short note in the README.html file that the jdk-1.2pre-v1 is
>  > known not to work
>  > with glibc-2.1
> 
> 
> The README.linux already mentions:

[excerpt from README.html deleted]

Jepp I obviously missed that. I apologize.

> I'm running (thanks to the tips in this list!) jdk 1.2pre1 with glibc
> 2.1.  I'm using  small wrapper scripts to set the required options,
> e.g.:
> $ cat bin/java
> #!/bin/sh
> /opt/jdk1.2/bin/java -green  -Djava.compiler= $*
> $ cat bin/appletviewer 
> #!/bin/sh
> /opt/jdk1.2/bin/appletviewer -green  -J-Djava.compiler= $*
> 
> I just run a few programs and so far everything works for me.

The old applets do indeed work with glibc-2.1 and green threads (using
the above solution). But I still did not get the jfc stuff to work
- not even the demo/jfc/SimpleExample 

Thank you anyway for your fast reply!

Regards,

Johan

 [EMAIL PROTECTED]|
 [EMAIL PROTECTED]   | Phone: +358-40-5120550



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