Re: [WebStart] How can I change the location of the Web Start cache?

From: Andrew Thompson (SeeMySites_at_www.invalid)
Date: 11/05/04

  • Next message: Arvind Varma Kalidindi: "Regular Expression Creator"
    Date: Fri, 05 Nov 2004 02:09:14 GMT
    
    

    On Thu, 04 Nov 2004 14:56:08 +0000, Tarlika Elisabeth Schmitz wrote:

    > Hello,
    >
    > In case you're reading this, Andrew, I've got a new challenge for you:
    > (I heard on the grape-vine ...

    Whoever said that?

    >..that you're a bit of a WebStart specialist ;-) )

    ..Slap them for me!

    I am a leading proponant of WebStart, and use it's simpler forms for
    my own software suite, but in no way am I an expert/specialist on it*.

    > Most of the WebStart docs I have found seem to refer to older versions
    > and therefore some of the tips I've seen don't work. I am running 1.4.2
    >
    > The webstart cache is normally installed per user, not per system. On
    > Linux, the cache is located somewhere in $HOME/.java, and on Windoze
    > somewhere in the application folder.
    >
    > I want to use WebStart for an Intranet application, more or less as a
    > convenience: rather than having to install every new release on X
    > machine, I'll just pop it on the local server.
    >
    > 1) I want to pre-install the cache and provide an icon to the
    > application (desktop integration).

    I do not quite follow. Do you mean as distinct to the shortcuts
    that JWS creates for the application itself?

    >.. I guess, I'll just have to do this by
    > hand for the first installation. Or does anyone have a better idea?
    >
    > 2) I would like to choose a different location for the cache (per system
    > rather than per user).
    > Somewhere I saw the tip to change the following property:
    > javaws.cfg.cache.dir=c:/Programme/JavaSoft/JWSCache ...

    Based on the 'JWSCache' string, on which the only reference
    was the Sun forums, I found my way to this..
    <http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/properties.html>

    It looks hopeful for configuring the sorts of things of which
    you are referring, but I am still working through this document,
    and not much of what it says makes sense to me.

    I can find none of the files they refer to on my WinXP box,
    and none of the 'system properties' they mention appear in
    the System.getProperties enumeration.

    > I think there used to be a javaws.cfg file but there isn't any longer.
    > Where are all these settings stored now?

    ..you might get some tips from that page I mentioned, I
    will certainly be giving it a closer look.

    [ This is of interest to me since I want to deploy Saverbeans
    ScreenSavers to Win/*nix boxes using JWS, but they need to be
    installed in specific directories. * But, to be honest, your
    post has got me closer to that goal than all my earlier
    investigations! ;-) ]

    -- 
    Andrew Thompson
    http://www.PhySci.org/codes/  Web & IT Help
    http://www.PhySci.org/  Open-source software suite
    http://www.1point1C.org/  Science & Technology
    http://www.LensEscapes.com/  Images that escape the mundane
    

  • Next message: Arvind Varma Kalidindi: "Regular Expression Creator"

    Relevant Pages

    • [WebStart] How can I change the location of the Web Start cache?
      ... (I heard on the grape-vine that you're a bit of a WebStart specialist;-) ... Most of the WebStart docs I have found seem to refer to older versions ... The webstart cache is normally installed per user, ... rather than having to install every new release on X ...
      (comp.lang.java.programmer)
    • Re: Windows 98SE "freezes" for 1 minute every time I close Internet Explorer 6.
      ... - and that you have IE set to clear your cache when closing IE. ... TaskMonitor Registry C:\WINDOWS\taskmon.exe ... IEAK Install Yes (ed.: ... applicable Windows Updates (which is now a non-issue with good ol' Win9x ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • Hope you can help - Tried the IE newsgroup...
      ... Fresh install of Windows XP Pro, ... All of the Microsoft updates have been applied. ... I checked the IE tools menu to find a host of add-ons. ... Setting to a larger cache worsened the problem. ...
      (microsoft.public.windowsxp.help_and_support)
    • RE: installation: HD not recognized
      ... Andrew - thanks for the response. ... the suggestion) and then inserted the Win XP install disk. ... Maybe something is hosed in the RAM or the CPU itself...? ... > recognized after the format. ...
      (microsoft.public.windowsxp.help_and_support)
    • RE: PC wont load XP CD
      ... Thanks Andrew, that worked a treat. ... I was waiting for xp setup to partition my HD and my screen turned off ... When I went to install windows it told me that I had know HD ... > Try entering the BIOS before xp starts,usually tapping the Delete or Esc ...
      (microsoft.public.windowsxp.setup_deployment)