osdir.com
mailing list archive F.A.Q. -since 2001!



Subject: Mac OS X: ImageIO causes crashes when loading
Java applets in Firefox, Camino, Opera - msg#00071

List: gis.gvsig.english

Mail Archive Navigation:
by Date: Prev Next Date Index by Thread: Prev Next Thread Index

We have found that installing the Java extension JAI-ImageIO, used by gvSIG, causes crashes when a Java applet is loaded in Firefox, Opera, Camino and possibly other web browsers (but NOT Safari, Webkit and those based on their same engine).

JAI-ImageIO is installed by gvSIG on OS X in its first run, in such a way that it is available for the user running gvSIG; it does not affect other users in the computer.

To uninstall JAI-ImageIO, one only needs to delete the file "jai_imageio.jar" that can be found in: user's Home directory -> Library -> Java -> Extensions.

The same thing can be done just by pasting this in a Terminal.app window:
rm ~/Library/Java/jai_imageio.jar

We have found a way to avoid installing this file, so future gvSIG versions won't install it and will offer to instead delete it.

To GeoTools users: there is a possibility that jai_imageio.jar is needed by Geotools too, so deleting the file can cause GeoTools to stop working. You'll have to ask them for suggestions.


For those wanting more details:
Since the advent of Safari, Apple has cared a lot more of supporting Java in its web browser than in the rest. In fact, current browsers that do not use Safari's engine (like Firefox, Camino and Opera) have serious trouble adequately supporting Java, since the standard ways in other platforms do not work in OS X.
So those browsers use the open source Java Embedding Plugin (javaplugin.sourceforge.net), which handles the dirty work of interacting with the Apple JVM.
JAI-ImageIO is not supported in OS X (in fact there is no distribution for OS X). For gvSIG we have managed to get the basic functionality, but, as seen, unexpected and difficult problems do pop up. In this case, the Java Embedded Plugin crashes, and with it, the browser that is using it.
Luckily, we have found a way to sidestep the problem: we'll use JAI- ImageIO not as an extension, but included in the Classpath. That's what we will do on future gvSIG versions.

Regards.


Thread at a glance:

Previous Message by Date:

gvSIG Mobile (pilot) released.

Hello everybody and sorry for the cross-posting. It gives us great pleasure to announce that the pilot application awarded the development contract for the gvSIG Mobile application by the Regional Ministry of Infrastructure and Transport is available. gvSIG Mobile is a smaller version of gvSIG which has been adapted for use in mobile devices. It supports shapefiles, ECW, WMS and images and is able to make use of GPS systems. Currently, only the visualization of layers and the generation of GPS tracklogs/waypoints are supported. There is an extension for gvSIG Desktop available too which allows cartographic information to be exported from gvSIG Desktop to gvSIG Mobile. Both gvSIG Mobile and the syncronization extension are available at gvSIG website http://www.gvsig.gva.es We hope it's really useful for you and don't hesitate to send us any comment. Kind regards. The gvSIG team. -- Manuel Madrid. Proyecto gvSIG (http://www.gvsig.gva.es) Asistencia Técnica Externa. Conselleria d'Infraestructures i Transport. Generalitat Valenciana. Valencia (Spain).

Next Message by Date:

Some bugs

Hi all, I'm new to this list and fairly new to the gvSIG program, although I have been using it a lot over the past few weeks and I think it is a really excellent program. Although not of critical importance, I would like to contribute to making gvSIG a better program by reporting the following bugs that I have found in it (v1.1.2, WinXP). I hope someone could help me with these: 1. An inexplicable change in font size occurs when I move the text of a selected annotation point. This happens in the annotation layer, and occurred whilst I was editing a project containing nine SHP layers. 2. In the map editor, a change in the fill colour (xxxx pattern) of the polygon rings from the Buffer GeoProcess occurs upon selecting 1:1 zoom of the A3-sized map. The colour of the fill pattern changes from pink (the colour it should be) to grey, and this re-occurs sporadically when zooming to different levels. 3. Also in the map editor, the size and spatial layout of objects change upon returning to the map window after having been in the view window. However, upon clicking on 1:1 zoom, the objects return to normal. I am guessing because this is a problem that can be remedied by essentially 'refreshing' the view, it is not too big a deal. Many thanks for any help, All the best, Rory Hill.

Previous Message by Thread:

gvSIG Mobile (pilot) released.

Hello everybody and sorry for the cross-posting. It gives us great pleasure to announce that the pilot application awarded the development contract for the gvSIG Mobile application by the Regional Ministry of Infrastructure and Transport is available. gvSIG Mobile is a smaller version of gvSIG which has been adapted for use in mobile devices. It supports shapefiles, ECW, WMS and images and is able to make use of GPS systems. Currently, only the visualization of layers and the generation of GPS tracklogs/waypoints are supported. There is an extension for gvSIG Desktop available too which allows cartographic information to be exported from gvSIG Desktop to gvSIG Mobile. Both gvSIG Mobile and the syncronization extension are available at gvSIG website http://www.gvsig.gva.es We hope it's really useful for you and don't hesitate to send us any comment. Kind regards. The gvSIG team. -- Manuel Madrid. Proyecto gvSIG (http://www.gvsig.gva.es) Asistencia Técnica Externa. Conselleria d'Infraestructures i Transport. Generalitat Valenciana. Valencia (Spain).

Next Message by Thread:

Mac OS X: ImageIO causes crashes when loading Java applets in Firefox, Camino, Opera

(Resending to the international user list, because a previous attempt last week failed) We have found that installing the Java extension JAI-ImageIO, used by gvSIG, causes crashes when a Java applet is loaded in Firefox, Opera, Camino and possibly other web browsers (but NOT Safari, Webkit and those based on their same engine). JAI-ImageIO is installed by gvSIG on OS X in its first run, in such a way that it is available for the user running gvSIG; it does not affect other users in the computer. To uninstall JAI-ImageIO, one only needs to delete the file "jai_imageio.jar" that can be found in: user's Home directory -> Library -> Java -> Extensions. The same thing can be done just by pasting this in a Terminal.app window: rm ~/Library/Java/jai_imageio.jar We have found a way to avoid installing this file, so future gvSIG versions won't install it and will offer to instead delete it. To GeoTools users: there is a possibility that jai_imageio.jar is needed by Geotools too, so deleting the file can cause GeoTools to stop working. You'll have to ask them for suggestions. For those wanting more details: Since the advent of Safari, Apple has cared a lot more of supporting Java in its web browser than in the rest. In fact, current browsers that do not use Safari's engine (like Firefox, Camino and Opera) have serious trouble adequately supporting Java, since the standard ways in other platforms do not work in OS X. So those browsers use the open source Java Embedding Plugin (javaplugin.sourceforge.net), which handles the dirty work of interacting with the Apple JVM. JAI-ImageIO is not supported in OS X (in fact there is no distribution for OS X). For gvSIG we have managed to get the basic functionality, but, as seen, unexpected and difficult problems do pop up. In this case, the Java Embedded Plugin crashes, and with it, the browser that is using it. Luckily, we have found a way to sidestep the problem: we'll use JAI- ImageIO not as an extension, but included in the Classpath. That's what we will do on future gvSIG versions. Regards.
blog comments powered by Disqus

Home | News | Sitemap | FAQ | advertise | OSDir is an Inevitable website. GBiz is too!