How to Install the plugin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
37 messages Options
12
Reply | Threaded
Open this post in threaded view
|

How to Install the plugin

Damien Cassou-3
We are still working on ubuntu package and we want the package to
install and configure the browser plugin. What are the files that need
to be included ? Where should they be putted ?

Here are the current package content!

squeak-vm :
-----------
/usr/bin/squeak
/usr/bin/startsqueak
/usr/lib/squeak/3.7-7/npsqueak.so
/usr/lib/squeak/3.7-7/squeak
/usr/lib/squeak/3.7-7/Squeak3D
/usr/lib/squeak/3.7-7/SqueakFFIPrims
/usr/lib/squeak/3.7-7/vm-display-fbdev
/usr/lib/squeak/3.7-7/vm-display-null
/usr/lib/squeak/3.7-7/vm-display-X11
/usr/lib/squeak/3.7-7/vm-sound-NAS
/usr/lib/squeak/3.7-7/vm-sound-null
/usr/lib/squeak/3.7-7/vm-sound-OSS
/usr/lib/squeak/3.7-7/XDisplayControlPlugin
/usr/lib/squeak/npsqueakregister
/usr/lib/squeak/npsqueakrun
[...]

squeak-image :
--------------
/usr/lib/squeak/Squeak3.8-6665.changes.gz
/usr/lib/squeak/Squeak3.8-6665.image.gz
[...]

squeak-sources :
----------------
/usr/lib/squeak/SqueakV3.sources
[...]



Reply | Threaded
Open this post in threaded view
|

Re: How to Install the plugin

David T. Lewis
Hi Damien,

I would expect for the browser plugin that you probably do not want
to include XDisplayControlPlugin. I don't think it will hurt anything,
but usually XDCP would be installed along with OSProcessPlugin and
AioPlugin, and I don't think that these three are normally used with
the browser plugin.

The SqueakFFIPrims may also be questionable for security reasons.

I don't know the correct configuration for the browser plugin, so I
am only mentioning some things I am familiar with.

HTH,

Dave

On Wed, Apr 05, 2006 at 09:45:07PM +0200, Damien Cassou wrote:

> We are still working on ubuntu package and we want the package to
> install and configure the browser plugin. What are the files that need
> to be included ? Where should they be putted ?
>
> Here are the current package content!
>
> squeak-vm :
> -----------
> /usr/bin/squeak
> /usr/bin/startsqueak
> /usr/lib/squeak/3.7-7/npsqueak.so
> /usr/lib/squeak/3.7-7/squeak
> /usr/lib/squeak/3.7-7/Squeak3D
> /usr/lib/squeak/3.7-7/SqueakFFIPrims
> /usr/lib/squeak/3.7-7/vm-display-fbdev
> /usr/lib/squeak/3.7-7/vm-display-null
> /usr/lib/squeak/3.7-7/vm-display-X11
> /usr/lib/squeak/3.7-7/vm-sound-NAS
> /usr/lib/squeak/3.7-7/vm-sound-null
> /usr/lib/squeak/3.7-7/vm-sound-OSS
> /usr/lib/squeak/3.7-7/XDisplayControlPlugin
> /usr/lib/squeak/npsqueakregister
> /usr/lib/squeak/npsqueakrun
> [...]
>
> squeak-image :
> --------------
> /usr/lib/squeak/Squeak3.8-6665.changes.gz
> /usr/lib/squeak/Squeak3.8-6665.image.gz
> [...]
>
> squeak-sources :
> ----------------
> /usr/lib/squeak/SqueakV3.sources
> [...]
>
>

Reply | Threaded
Open this post in threaded view
|

Re: How to Install the plugin

Michael Rueger-6
In reply to this post by Damien Cassou-3
Damien Cassou wrote:
> We are still working on ubuntu package and we want the package to
> install and configure the browser plugin. What are the files that need
> to be included ? Where should they be putted ?

Did you take a look at the squeakland debian packages?
Jens (the student that built the packages) confirmed, that those work at
least on his ubuntu distribution.

Michael

Reply | Threaded
Open this post in threaded view
|

A Possibly Interesting Link

Dan Ingalls
In reply to this post by David T. Lewis
For a good time, try...

        http://Weather-Dimensions.com/Dan/ForwardToThePast.jnlp

It may take a while.  Much remains to be done, but there's enough to
play with.  I get terrible screen updating, but I think it's a
peculiarity of Java AWT on my Mac.   Use quit with no save to exit.

I'd like to hear whether it works or doesn't for you (you'll know),
and what browser, platform, and OS you used.  Maybe take it offline
if it starts to be a lot of traffic on the list.

Thanks, and enjoy (I hope)

        - D

PS:  Thanks to Helge Horch for much of the environmental framework,
and to Wolfgang Helbig for helping me through JWS.

Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Andreas.Raab
On Windows with Firefox all I get is a page saying:

<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+"
codebase="http://Weather-Dimensions.com/Dan/"
href="sSqueakOnJava.jar">
<information>
<title>Mini Squeak</title>
<vendor>Dan Ingalls</vendor>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<jar href="sSqueakOnJava.jar" main="true" download="eager"/>
<j2se version="1.3+"
href="http://java.sun.com/products/autodl/j2se"/>
</resources>
<application-desc main-class="squeakonjava.Main"/>
</jnlp>

Dan Ingalls wrote:

> For a good time, try...
>
>     http://Weather-Dimensions.com/Dan/ForwardToThePast.jnlp
>
> It may take a while.  Much remains to be done, but there's enough to
> play with.  I get terrible screen updating, but I think it's a
> peculiarity of Java AWT on my Mac.   Use quit with no save to exit.
>
> I'd like to hear whether it works or doesn't for you (you'll know), and
> what browser, platform, and OS you used.  Maybe take it offline if it
> starts to be a lot of traffic on the list.
>
> Thanks, and enjoy (I hope)
>
>     - D
>
> PS:  Thanks to Helge Horch for much of the environmental framework, and
> to Wolfgang Helbig for helping me through JWS.
>
>


Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Avi  Bryant
Me too on Safari.  But I can just download the .jar file mentioned  
and run it, and it works fine.  Cool!

My tinyBenchmarks are about 1/10 what I'm used to from the standard C  
VM.

Avi

On Apr 6, 2006, at 12:47 AM, Andreas Raab wrote:

> On Windows with Firefox all I get is a page saying:
>
> <?xml version="1.0" encoding="utf-8"?>
> <jnlp spec="1.0+"
> codebase="http://Weather-Dimensions.com/Dan/"
> href="sSqueakOnJava.jar">
> <information>
> <title>Mini Squeak</title>
> <vendor>Dan Ingalls</vendor>
> <offline-allowed/>
> </information>
> <security>
> <all-permissions/>
> </security>
> <resources>
> <jar href="sSqueakOnJava.jar" main="true" download="eager"/>
> <j2se version="1.3+"
> href="http://java.sun.com/products/autodl/j2se"/>
> </resources>
> <application-desc main-class="squeakonjava.Main"/>
> </jnlp>
>
> Dan Ingalls wrote:
>> For a good time, try...
>>     http://Weather-Dimensions.com/Dan/ForwardToThePast.jnlp
>> It may take a while.  Much remains to be done, but there's enough  
>> to play with.  I get terrible screen updating, but I think it's a  
>> peculiarity of Java AWT on my Mac.   Use quit with no save to exit.
>> I'd like to hear whether it works or doesn't for you (you'll  
>> know), and what browser, platform, and OS you used.  Maybe take it  
>> offline if it starts to be a lot of traffic on the list.
>> Thanks, and enjoy (I hope)
>>     - D
>> PS:  Thanks to Helge Horch for much of the environmental  
>> framework, and to Wolfgang Helbig for helping me through JWS.
>
>


Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Andreas.Raab
Avi Bryant wrote:
> Me too on Safari.  But I can just download the .jar file mentioned and
> run it, and it works fine.  Cool!

Ah, you're right. Just going to

    http://weather-dimensions.com/Dan/sSqueakOnJava.jar

works fine for me.

> My tinyBenchmarks are about 1/10 what I'm used to from the standard C VM.

I think you're off by a factor of 10 ;-)

SqueakOnJava:     2,390,914 bytecodes/sec;   125,697 sends/sec
SqueakOnC:      201,892,744 bytecodes/sec; 2,210,621 sends/sec

That's about 1/100 of the regular VM.

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Dan Ingalls
In reply to this post by Andreas.Raab
Andreas replied...

>On Windows with Firefox all I get is a page saying:
>
><?xml version="1.0" encoding="utf-8"?>
><jnlp spec="1.0+"
>...
></jnlp>

and Avi added...

>Me too on Safari.  But I can just download the .jar file mentioned and run it, and it works fine.  Cool!

I don't know what the problem is.  On my Mac, in Safari it downloads the jnlp file, then launches, and in Firefox, it launches straight off.

Sounds like I haven't done an adequate job of setting mime types on the server (not my expertise), and somehow my Mac is helping out with its own beliefs about .jnlp.

        - Dan

Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Avi  Bryant
In reply to this post by Andreas.Raab

On Apr 6, 2006, at 1:25 AM, Andreas Raab wrote:

>>
>> My tinyBenchmarks are about 1/10 what I'm used to from the  
>> standard C VM.
>
> I think you're off by a factor of 10 ;-)
>
> SqueakOnJava:     2,390,914 bytecodes/sec;   125,697 sends/sec
> SqueakOnC:      201,892,744 bytecodes/sec; 2,210,621 sends/sec
>
> That's about 1/100 of the regular VM.

Nah, it's just that I was looking at sends/sec and you're looking at  
bytecodes/sec... (though you've got a 20x diff there where I had 10x).

Avi

Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Patrick Mauritz
In reply to this post by Dan Ingalls
On Thu, Apr 06, 2006 at 12:41:50AM -0700, Dan Ingalls wrote:
> I'd like to hear whether it works or doesn't for you (you'll know), and what browser, platform, and OS you used.  Maybe take it offline if it starts to be a lot of traffic on the list.
works on solaris10/x86, starting with javaws ${url}, jdk is 1.5.0_06.

on a 2.0GHz Celeron "0 tinyBenchmarks" gives
7968127 bytecodes/sec; 477242 sends/sec


thanks for your work on this!
patrick mauritz

Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Andreas.Raab
In reply to this post by Avi Bryant
Avi Bryant wrote:
>> SqueakOnJava:     2,390,914 bytecodes/sec;   125,697 sends/sec
>> SqueakOnC:      201,892,744 bytecodes/sec; 2,210,621 sends/sec
>>
>> That's about 1/100 of the regular VM.
>
> Nah, it's just that I was looking at sends/sec and you're looking at
> bytecodes/sec... (though you've got a 20x diff there where I had 10x).

Actually, my benchmarks are totally off (I was just wondering if I had
screwed up my last built because the SqueakOnC numbers don't match up).
I noticed a horrible slowdown of my machine and checking it showed that
the JVM was happily taking 100% of my CPU (actually *two* JVMs both
taking 50%). It looks as if quitting via the window close button keeps
the JVM happily running in the background.

So here we go again:

SqueakOnJava:   5,509,641 bytecodes/sec;   324,946 sends/sec
SqueakOnC:    203,013,481 bytecodes/sec; 5,797,002 sends/sec

So that's between a factor of 20 (sends) and 50 (bytecodes). Not bad.
Not bad at all.

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Edgar J. De Cleene
In reply to this post by Andreas.Raab
Andreas Raab puso en su mail :

> On Windows with Firefox all I get is a page saying:
>
> <?xml version="1.0" encoding="utf-8"?>
> <jnlp spec="1.0+"
> codebase="http://Weather-Dimensions.com/Dan/"
> href="sSqueakOnJava.jar">
> <information>
> <title>Mini Squeak</title>
> <vendor>Dan Ingalls</vendor>
> <offline-allowed/>
> </information>
> <security>
> <all-permissions/>
> </security>
> <resources>
> <jar href="sSqueakOnJava.jar" main="true" download="eager"/>
> <j2se version="1.3+"
> href="http://java.sun.com/products/autodl/j2se"/>
> </resources>
> <application-desc main-class="squeakonjava.Main"/>
> </jnlp>
Same on Mac with FireFox, Safari and iCab

I wait your magic, Dan

Edgar


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Dan Ingalls
In reply to this post by Andreas.Raab
Andreas wrote...

>So here we go again:
>
>SqueakOnJava:   5,509,641 bytecodes/sec;   324,946 sends/sec
>SqueakOnC:    203,013,481 bytecodes/sec; 5,797,002 sends/sec

I'm surprised.  As Avi reported,  I get on my Mac:

SqueakOnJava:     9,211,283 bytecodes/sec;   509,641 sends/sec
SqueakOnC:        89,824,561 bytecodes/sec; 5,038,709 sends/sec

Actually, if I run the benchmarks in 3.8, I get more like 111M bytes/sec, so we've got a bit of an apples vs oranges problem (though nothing like Andreas's difference).  To be truly fair, you'd have to run the mini image (that's what I do).  I believe you can get that out of the jar, or I'll send it to you if you're interested.

Numbers like 20x to 50x  to me indicate either a miserable Java or something else going on.

So I'm curious to see some other results.

        - Dan

PS:  I'm going to get some sleep now, though...

Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Edgar J. De Cleene
In reply to this post by Avi Bryant
Avi Bryant puso en su mail :

> Me too on Safari.  But I can just download the .jar file mentioned
> and run it, and it works fine.  Cool!
I can download, but regular command keys seems not working on Mac.

Edgar



__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Klaus D. Witzel
In reply to this post by Andreas.Raab
On Thu, 06 Apr 2006 10:39:00 +0200, Andreas Raab <[hidden email]>  
wrote:

> Avi Bryant wrote:
>>> SqueakOnJava:     2,390,914 bytecodes/sec;   125,697 sends/sec
>>> SqueakOnC:      201,892,744 bytecodes/sec; 2,210,621 sends/sec
...
> I noticed a horrible slowdown of my machine and checking it showed that  
> the JVM was happily taking 100% of my CPU (actually *two* JVMs both  
> taking 50%). It looks as if quitting via the window close button keeps  
> the JVM happily running in the background.

...same happened here. For the comparision, on an Intel Pentium/M 1.73 GHz  
(windoze xp) with JSE2:

SqueakOnJava:   7,684,918 bytecodes/sec;   440,641 sends/sec
SqueakOnC:    273,066,666 bytecodes/sec; 8,158,635 sends/sec

And the .class files in sSqueakOnJava.jar are unbelievable small, great  
work!

/Klaus

> So here we go again:
>
> SqueakOnJava:   5,509,641 bytecodes/sec;   324,946 sends/sec
> SqueakOnC:    203,013,481 bytecodes/sec; 5,797,002 sends/sec
>
> So that's between a factor of 20 (sends) and 50 (bytecodes). Not bad.  
> Not bad at all.
>
> Cheers,
>    - Andreas
>
>



Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Dan Ingalls
Andreas and Klaus observed...

>>I noticed a horrible slowdown of my machine and checking it showed that the JVM was happily taking 100% of my CPU (actually *two* JVMs both taking 50%). It looks as if quitting via the window close button keeps the JVM happily running in the background.

Yes.  Sorry about that.  I need to get the window event.  Also I haven't implemented relinquishProcessor yet.

So much to do, so little time ;-)

        - D

Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Bert Freudenberg-3
In reply to this post by Dan Ingalls

Am 06.04.2006 um 11:09 schrieb Dan Ingalls:

> Andreas wrote...
>
>> So here we go again:
>>
>> SqueakOnJava:   5,509,641 bytecodes/sec;   324,946 sends/sec
>> SqueakOnC:    203,013,481 bytecodes/sec; 5,797,002 sends/sec
>
> I'm surprised.  As Avi reported,  I get on my Mac:
>
> SqueakOnJava:     9,211,283 bytecodes/sec;   509,641 sends/sec
> SqueakOnC:        89,824,561 bytecodes/sec; 5,038,709 sends/sec
>
> Actually, if I run the benchmarks in 3.8, I get more like 111M  
> bytes/sec, so we've got a bit of an apples vs oranges problem  
> (though nothing like Andreas's difference).  To be truly fair,  
> you'd have to run the mini image (that's what I do).  I believe you  
> can get that out of the jar, or I'll send it to you if you're  
> interested.

To extract the mini image, rename sSqueakOnJava.jar to  
sSqueakOnJava.zip, unzip it, locate mini.image.gz, and gunzip that.

> Numbers like 20x to 50x  to me indicate either a miserable Java or  
> something else going on.
>
> So I'm curious to see some other results.

iMac G5 1,6 GHz, mini.image

Squeak3.8.9beta10:    78,191,814 bytecodes/sec;  4,402,970 sends/sec
JavaHotSpot1.4.2-54:    8,064,516 bytecodes/sec;    474,599 sends/sec

- Bert -


Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Michael Haupt-3
In reply to this post by Andreas.Raab
Hi,

On 4/6/06, Dan Ingalls <[hidden email]> wrote:

> Andreas replied...
> >On Windows with Firefox all I get is a page saying:
> >
> ><?xml version="1.0" encoding="utf-8"?>
> ><jnlp spec="1.0+"
> >...
> ></jnlp>
>
> and Avi added...
>
> >Me too on Safari.  But I can just download the .jar file mentioned and run it, and it works fine.  Cool!
>
> I don't know what the problem is.  On my Mac, in Safari it downloads the jnlp file, then launches, and in Firefox, it launches straight off.

possibly, Java WebStart is not properly configured on the client
machines. My browser (Safari) also just displays the JNLP file's XML
syntax. Still, downloading the JAR directly works fine, and the
benchmarks yield the following (on a G4 Powerbook, 768 MB RAM, 1 GHz):

Squeak 3.8.9beta8: 59,925,093 bytecodes/sec; 3,361,587 sends/sec
Java 1.4.2_09: 5,759,539 bytecodes/sec; 332,188 sends/sec
Java 1.5.0_05: 5,657,708 bytecodes/sec; 331,012 sends/sec

Overheads (Java 1.4 over Squeak 3.8): 10.4 for bytecodes; 10.1 for sends.

It's interesting that the Java 5 VM appears to be slightly slower when
it comes to running Squeak than the 1.4 one, but that's something for
the VM hackers at Apple to consider. :-)

This is very nifty! Thanks for the work!

Best regards,

Michael Haupt

Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

Alan Kay
In reply to this post by Andreas.Raab
Hi Andreas --

Yes, Java doesn't want to quit and tries to take over the machine.

Cheers,

Alan

At 01:39 AM 4/6/2006, Andreas Raab wrote:

>Avi Bryant wrote:
>>>SqueakOnJava:     2,390,914 bytecodes/sec;   125,697 sends/sec
>>>SqueakOnC:      201,892,744 bytecodes/sec; 2,210,621 sends/sec
>>>
>>>That's about 1/100 of the regular VM.
>>Nah, it's just that I was looking at sends/sec and you're looking at
>>bytecodes/sec... (though you've got a 20x diff there where I had 10x).
>
>Actually, my benchmarks are totally off (I was just wondering if I had
>screwed up my last built because the SqueakOnC numbers don't match up). I
>noticed a horrible slowdown of my machine and checking it showed that the
>JVM was happily taking 100% of my CPU (actually *two* JVMs both taking
>50%). It looks as if quitting via the window close button keeps the JVM
>happily running in the background.
>
>So here we go again:
>
>SqueakOnJava:   5,509,641 bytecodes/sec;   324,946 sends/sec
>SqueakOnC:    203,013,481 bytecodes/sec; 5,797,002 sends/sec
>
>So that's between a factor of 20 (sends) and 50 (bytecodes). Not bad. Not
>bad at all.
>
>Cheers,
>   - Andreas



Reply | Threaded
Open this post in threaded view
|

Re: A Possibly Interesting Link

mwgrant
In reply to this post by Andreas.Raab

As with some others I get the same with XP (media Edition). I get this
occasionally and just move on. There are things I want to do that are much more
interesting than struggle with Windows and/or security...it's kind of a
degradation of modern life isn't it? Ce sera, sigh. Probably should figure it
out one of these days, but by then a new version will be out with new
aggravations/challenges/capabilities/...

Seriously this does point to one of the obstacles when trying to make something
everyone can use...getting it to work in all parts of the zoo. For most of us
the fun is developing an electro-widget that does something we need and/or
want. Unfortunately that is the 'easy' part. Taking it into the zoo is the hard
part.

Regards all,
Michael Grant

--- Andreas Raab <[hidden email]> wrote:

> On Windows with Firefox all I get is a page saying:
>
> <?xml version="1.0" encoding="utf-8"?>
> <jnlp spec="1.0+"
> codebase="http://Weather-Dimensions.com/Dan/"
> href="sSqueakOnJava.jar">
> <information>
> <title>Mini Squeak</title>
> <vendor>Dan Ingalls</vendor>
> <offline-allowed/>
> </information>
> <security>
> <all-permissions/>
> </security>
> <resources>
> <jar href="sSqueakOnJava.jar" main="true" download="eager"/>
> <j2se version="1.3+"
> href="http://java.sun.com/products/autodl/j2se"/>
> </resources>
> <application-desc main-class="squeakonjava.Main"/>
> </jnlp>
>
> Dan Ingalls wrote:
> > For a good time, try...
> >
> >     http://Weather-Dimensions.com/Dan/ForwardToThePast.jnlp
> >
> > It may take a while.  Much remains to be done, but there's enough to
> > play with.  I get terrible screen updating, but I think it's a
> > peculiarity of Java AWT on my Mac.   Use quit with no save to exit.
> >
> > I'd like to hear whether it works or doesn't for you (you'll know), and
> > what browser, platform, and OS you used.  Maybe take it offline if it
> > starts to be a lot of traffic on the list.
> >
> > Thanks, and enjoy (I hope)
> >
> >     - D
> >
> > PS:  Thanks to Helge Horch for much of the environmental framework, and
> > to Wolfgang Helbig for helping me through JWS.
> >
> >
>
>
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

12