Page 1 of 1

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

PostPosted: Tue Jul 19, 2011 10:23 pm
by herraasgeir
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?

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

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

Marcus

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

PostPosted: Wed Jul 20, 2011 9:04 am
by TIG
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

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

PostPosted: Fri Jul 22, 2011 9:21 am
by herraasgeir
I re-installed the OS. Working fine now :)

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

PostPosted: Fri Jul 22, 2011 9:49 am
by TIG
Hooray!
:D