JavaVM.framework/Versions/CurrentJDK/Home: No such file...

Forums: JavaVM.framework/Versions/CurrentJDK/Home: No such file...
SketchUp Integrated Plugin (Integrated Plugin maintained by OTOY)

JavaVM.framework/Versions/CurrentJDK/Home: No such file...

Postby herraasgeir » Tue Jul 19, 2011 10:23 pm

herraasgeir Tue Jul 19, 2011 10:23 pm
I have a problem when trying to export from SketchUp 8.
I get this message from terminal:

-bash: JavaVM.framework/Versions/CurrentJDK/Home: No such file or directory

Does anyone know what could be wrong?
Windows XP x32 GTX560ti 2GB Intel Core 2 duo 2GB | MacBook Pro 15inch GeForce 8600M GT
herraasgeir
Licensed Customer
Licensed Customer
 
Posts: 8
Joined: Sat Mar 19, 2011 1:54 pm
Location: Iceland

Re: JavaVM.framework/Versions/CurrentJDK/Home: No such file...

Postby abstrax » Tue Jul 19, 2011 11:05 pm

abstrax Tue Jul 19, 2011 11:05 pm
Moved to the Sketchup forum. I hope you get help there.

Marcus
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
User avatar
abstrax
OctaneRender Team
OctaneRender Team
 
Posts: 5483
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

Re: JavaVM.framework/Versions/CurrentJDK/Home: No such file...

Postby TIG » Wed Jul 20, 2011 9:04 am

TIG Wed Jul 20, 2011 9:04 am
As I explained in my earlier PM, you run a 'command file' with arguments to open an OCS and use specified OBJ and optional settings like the camera etc. You can do this by writing the file yourself and executing it... There is a section in the Octane manual bout this. Frankly this code can become convoluted and it's unforgiving of the slightest error in syntax.
To simplify matters the Octane Render Sketchup Exporter writes this command file for you based on the settings you have specified in the dialog when you press Render Fraem - it exports the OBJ/MTL/texture-files and makes the command file and executes it.
The first line of a MAC command file specifies the 'shell' under which the following code will execute
Possible shell types are - sh, bash, csh, zsh, and ksh - a very common type is 'bash'...
#!/bin/bash
This shell type should be installed/enabled on your MAC by default.
If the bash shell isn't properly setup then the command file will not run.
You need to [re]install [or enable] the appropriate files - you seem to be missing "JavaVM.framework/Versions/CurrentJDK/Home:" as the 'bash' error suggests - I suspect that this has the bash shell as a part of its install... or the bash side might be OK but missing some JavaVM component that has been moved/erased - perhaps by accident or during a system upgrade [I have heard that Snowleopard can mess with Java versions when it upgrades?]
All of these things should come as a standard part of the MAC OS installation and work 'seamlessly' - is it on your installation disks?
Have you disabled something from a control-panel setting - like JavaVM?
[The JavaVM stuff should be enabled on your machine because there are several other tools that need it too...]

If you do find the fix please post as there might be other MAC users with similar issues who haven't reported them - although to date this the first time I heard of this problem...
:?

EDIT: Here's a useful link about MAC and JavaVM http://developer.apple.com/library/mac/#documentation/Java/Conceptual/Java14Development/01-JavaOverview/JavaOverview.html
TIG
User avatar
TIG
Licensed Customer
Licensed Customer
 
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

Re: JavaVM.framework/Versions/CurrentJDK/Home: No such file...

Postby herraasgeir » Fri Jul 22, 2011 9:21 am

herraasgeir Fri Jul 22, 2011 9:21 am
I re-installed the OS. Working fine now :)
Windows XP x32 GTX560ti 2GB Intel Core 2 duo 2GB | MacBook Pro 15inch GeForce 8600M GT
herraasgeir
Licensed Customer
Licensed Customer
 
Posts: 8
Joined: Sat Mar 19, 2011 1:54 pm
Location: Iceland

Re: JavaVM.framework/Versions/CurrentJDK/Home: No such file...

Postby TIG » Fri Jul 22, 2011 9:49 am

TIG Fri Jul 22, 2011 9:49 am
Hooray!
:D
TIG
User avatar
TIG
Licensed Customer
Licensed Customer
 
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

Return to SketchUp


Who is online

Users browsing this forum: No registered users and 6 guests

Fri Mar 29, 2024 6:49 am [ UTC ]