On 09/11/2011 16:22, Raymond RIPP wrote:

(sorry to answer directly to you but I don't know how to answer to the list .. and I forgot also the subject)
no worries :) (the email you are using may may not be subscribed to jalview-discuss, by the way - you need to send to the list with an email that is registered here http://www.jalview.org/mailman/listinfo/jalview-discuss ).

I didn't find the Java console on my Linux Firefox and and tried on Windows and ... it works well !!!
(It's the same xxxx.html as on Linux)
The applet,  xxxx.html and myfile.tfa are in the same directory !!!

On Linux I tried all possible solutions with myfile.tfa, /somewhere/myfile.tfa, and also http://.../myfile.tfa but got always "can't open ..." , and I saw them using file:///somewhere/myfile.tfa <file:///myfile.tfa> or http://... <http://.../>/myfile.tfa

I'll try to install the Java Console on my Linux Firefox or Chrome browser, and I'll tell you what happens.
I think this is almost certainly a java applet security issue. It's been a while since I did much work with local files and the applet on a linux box, so I can't tell you off-hand what magic you need to invoke to make this work, but I think I did manage to get around this problem in the past (but it's over 5 years since linux was my main dev environment for jalview :) ).

If you aren't worried about HTML layout, however, then the appletviewer will probably do everything you need.

Otherwise, try and experiment with java applet security policy files: http://java.sun.com/developer/technicalArticles/Security/applets/

best of luck!
Jim.

ps. you should be able to enable the java console when java starts up in the browser via the java console's 'Advanced tab'. Open it via the ControlPanel binary in your JRE directory's bin directory (http://www.java.com/en/download/help/enable_console_linux.xml ).

_______________________________________________
Jalview-discuss mailing list
[email protected]
http://www.compbio.dundee.ac.uk/mailman/listinfo/jalview-discuss

Reply via email to