Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UC_IMAGE_PATH

 
Lin Zhao
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having the exact same problem. Did you find a solution?
 
Jerri Combs
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Arturo Parra
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic