Skip to main content

Cannot download Javaee7 tutorial using updatetool

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
2 replies [Last post]
mcedward
Offline
Joined: 2014-03-17

Trying to learn Java EE 7 and latest challenge with Glassfish 4 (running on Linux Mint16 32-bit came after I installed the updatetool (did the .zip install of Glassfish).

Got the following output on running 'updatetool' command:

GlassFish Update Tool does not support running in "en_GB.utf" locale.
Attempting to use English locale.
WX import error. Verify the WX widgets are in the PYTHONPATH.
The following can be reported to GlassFish Update Tool 2.3.5 Development Team .

Traceback (innermost last):
File "/home/mark/glassfish4/updatetool/vendor-packages/updatetool/common/boot.py", line 283, in init_app_locale
import wx
File "wx/__init__.py", line 45, in ?
File "wx/_core.py", line 4, in ?
ImportError: libjpeg.so.62: cannot open shared object file: No such file or directory

Now I'm stuck.
Where else can I get the tutorial from? Googling has proved fruitless.
Should I just change my locale for the bash session and if so, to what?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jfdipol
Offline
Joined: 2007-08-16

We have not tested GlassFish 4 (in particular updatetool) on Mint. Likely there is some dependency that is not being resolved by the default Mint install. You could search around the Mint package repository to find what package has libjpeg.so.62 and add it.

Another work-around is to use the pkg CLI (which has fewer library dependencies than the updatetool GUI and is therefore more likely to work on new platforms). Try this:

mac$ pkg list -a "*tutorial"
NAME (PUBLISHER)                              VERSION         STATE      UFIX
javaee-firstcup-tutorial                      7.0.1-6         known      ----
javaee-tutorial                               7.0.3-2         known      ----
$ pkg install javaee-firstcup-tutorial
. . .
$ pkg install javaee-tutorial
. . .
mcedward
Offline
Joined: 2014-03-17

Genius! . Found libjpeg.so.62, installed and Update Tool GUI appears.
Many thanks