aspose file tools*
The moose likes Other Java Products and Servers and the fly likes UC_IMAGE_PATH Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "UC_IMAGE_PATH " Watch "UC_IMAGE_PATH " New topic
Author

UC_IMAGE_PATH

Lin Zhao
Greenhorn

Joined: Jul 31, 2010
Posts: 3
Hi!

I am trying to run the Update Tool that is part of the GlassFish Server V3.
When I run the update tool, I am receiving the following error:

Update Tool was unable to start.
The Python runtime could not be found.
To fix this problem use the UC_IMAGE_PATH environment variable
to provide a path to a valid image.


I am unsure which image to set this variable to? What to point to??

Lin
Steve Dambrosio
Greenhorn

Joined: Apr 02, 2009
Posts: 28
I'm having the exact same problem. Did you find a solution?
Jerri Combs
Greenhorn

Joined: Feb 25, 2012
Posts: 2
I think what happens is this:
During installation, Glassfish checks to see whether you already have Python installed.
If not, then it creates a directory, python2.4-minimal, in C:\glassfish3\pkg (or wherever you're installing Glassfish).
But if you have Python already, then it doesn't create this directory.
However, when you then try to start the Update Tool, it looks in C:\glassfish3\pkg\python2.4-minimal for something, and when it can't find that directory, it falls down.
Setting the environment variable to the location of your existing Python installation doesn't seem to work.
Eventually, I gave up on that, and just uninstalled Glassfish and Python, then reinstalled Glassfish.
Now Update Tool starts up fine.
I guess I can reinstall Python, too, but I haven't done so yet.
It would be better if I'd somehow got the the environment variable to work, though.


Don't give up the day job.
(It's a valuable opportunity to catch up on sleep.)
Arturo Parra
Greenhorn

Joined: Oct 08, 2013
Posts: 1
Jerri Combs wrote:I think what happens is this:
During installation, Glassfish checks to see whether you already have Python installed.
If not, then it creates a directory, python2.4-minimal, in C:\glassfish3\pkg (or wherever you're installing Glassfish).
But if you have Python already, then it doesn't create this directory.
However, when you then try to start the Update Tool, it looks in C:\glassfish3\pkg\python2.4-minimal for something, and when it can't find that directory, it falls down.
Setting the environment variable to the location of your existing Python installation doesn't seem to work.
Eventually, I gave up on that, and just uninstalled Glassfish and Python, then reinstalled Glassfish.
Now Update Tool starts up fine.
I guess I can reinstall Python, too, but I haven't done so yet.
It would be better if I'd somehow got the the environment variable to work, though.


I did this, but I also had to delete manually the glassfish directory before installing it again and after that it worked ok.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UC_IMAGE_PATH