IJC icon

User 9aa4619393

21-10-2011 10:28:35

Hi


How do I get IJC to display its own desktop icon instead of the standard java icon? In the master.jnlp file I have:


<icon href="<myserver>/UrlWebApp/frame32.gif" kind="default"/>


and it doesn't work.


Thanks


Anna

ChemAxon 3b366b17e5

21-10-2011 13:23:49

You probably need to add


<shortcut online="true">


    <desktop/>


</shortcut>


To your master.jnlp file.


Webstart from chemaxon's (http://www.chemaxon.com/instantjchem-jws/stable/master.jnlp) added icon to my Windows 7 machine.

User 9aa4619393

25-10-2011 11:41:55

Hi Peter


the code is already in the jnlp file. The desktop icon is created, but it looks like the standard java icon and I was wondering how to get the IJC icon instead.


Thanks


Anna

ChemAxon 3b366b17e5

25-10-2011 14:48:27

It's not still clear for me the icon is correcty shown when you try jws from chemaxon website. What operating system and java version do you use?


Thanks for information


Petr

User 9aa4619393

25-10-2011 14:57:55

Hi Petr


I am talking about our own jws deployment. we have Windows XP, Java 1.6.0.20. Here is the JNLP file:


<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="$$codebase" >
   <information>
        <title>Instant JChem (JWS)</title>
        <vendor>Chemaxon Kft.</vendor>
        <!-- TODO RELEASE -->
        <description>Instant JChem 5.5 Java Web Start version</description>
        <description kind="short">Instant JChem 5.5</description>
        <homepage href="http://www.chemaxon.com/product/ijc.html"/> />        <shortcut>
            <desktop/>
        <menu submenu="ChemAxon"/>
        </shortcut>
        <icon href="http://<myserver>:8080/UrlWebApp/frame32.gif" kind="default"/>
        <offline-allowed/>
    </information>
    <security>
        <all-permissions/>
    </security>
    <resources>
        <j2se version="1.6+"/>
        <jar href="JNLPInstaller.jar" main="true" download="eager"/>
    </resources>
    <application-desc main-class="com.im.ijc.jnlpinstaller.Main">
        $$license
        $$extraArguments
        <argument>--openUrl</argument>
        <argument>$$url</argument>
    </application-desc>
</jnlp>


thanks


Anna

ChemAxon 3b366b17e5

25-10-2011 17:43:34

Hi Anna,


I found the problem. The frame32.gif icon was not accessible from the webapplication (e.g. try put the url http://<myserver>:8080/UrlWebApp/frame32.gif to web browser). Possible solution is to copy frame32.gif from jws folder to data folder in UrlWebApp folder user folder. Let me know if it helped you. We will fix this problem in IJC 5.8.


Thanks


Petr 

User 9aa4619393

26-10-2011 09:07:25

Hi Petr,


I  copied the frame32.gif to the data folder, left the URL as it was and it works now.


Thanks!


Anna

User e05b1833aa

26-10-2011 11:18:14

While we're at it: where is the IJC icon located on linux (Ubuntu)? Also applies to MarvinBeans: where are the icons?


Thanks,


Evert

ChemAxon 3b366b17e5

31-10-2011 07:57:20

Missing icons of JWS-IJC on Ubuntu desktop is issue in Java distribution. We cannot fix it. Missing icons of MarviBeans is known problem in our installer.


Petr