[This topic is migrated from our old forums. The original author name has been removed]
Folks,
One of the new features of dbvis v8.0.10 is support for Java 7 on Mac OS X. However, I can't find any documentation on how to change to target JRE to 1.7 from 1.6. I tried editing the plist by setting the target JRE to "1.7" or "1.7+", but neither one worked. Has anyone been able to do this, and if so, can you tell me how you did it?
Thanks,
Andrew
Hi Andrew,
Please see this FAQ for how to change the Java version used:
http://www.dbvis.com/doc/faq/#6.4
Best Regards,
Hans
a
anonymous
said
over 12 years ago
[This reply is migrated from our old forums. The original author name has been removed]
Re: Java 7 on Mac OS X with v8.0.10
HI I have tried both options manual editing of the plist file and using the editor DBVis still does not recognise version 7
Roger Bjärevall
said
over 12 years ago
[This reply is migrated from our old forums.]
Re: Java 7 on Mac OS X with v8.0.10
Paul,
We'll check into this and get back as soon as possible.
Regards
Roger
a
anonymous
said
over 12 years ago
[This reply is migrated from our old forums. The original author name has been removed]
Re: Java 7 on Mac OS X with v8.0.10
Hans,
I clicked on the link to the "Mac OS X FAQ" from the page that you mentioned, but those instructions didn't help, maybe because they're just out of date. (It shows instructions for how to configure dbvisualizer for JVM v1.4.)
Andrew
Roger Bjärevall
said
over 12 years ago
[This reply is migrated from our old forums.]
Re: Java 7 on Mac OS X with v8.0.10
Andrew,
There is an issue with the Mac OS X installer that we are looking into. The workaround is that you open a Terminal and goto the following directory:
DbVisualizer-8.0.10.app/Contents/Resources/app/
Make sure Java 1.7 is in the path. Test by running this in the terminal:
java -version
Result:
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
Now launch DbVisualizer:
./dbvisgui.sh
Regards
Roger
a
anonymous
said
over 12 years ago
[This reply is migrated from our old forums. The original author name has been removed]
Re: Java 7 on Mac OS X with v8.0.10
Hi,
I've noticed the same behaviour on my Mac and after some research I've found the following statement:
{noformat}"Oracle Java 7 .jdk only supports CommandLine only tasks"{noformat}And the output of 'java_home -t BundledApp' seems to confirm this:
pluto:bin$ java -version
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
pluto:bin$ /usr/libexec/java_home
/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
pluto:bin$ /usr/libexec/java_home -t BundledApp
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
So it seems that this is not specific to DBVisualizer but a restriction of Oracle's implementation!
(see https://wikis.oracle.com/display/OpenJDK/Mac+OS+X+Port+Project+Status)
regards,
Robin.
Roger Bjärevall
said
over 12 years ago
[This reply is migrated from our old forums.]
Re: Java 7 on Mac OS X with v8.0.10
Robin and all,
It appears we were to quick putting Java 7 and Mac OS X support in the release notes for 8.0.10. It simply doesn't work as it is now and that release notes entry has been removed from the 8.0.10 list.
We have on the todo list to look into an alternative solution and it seem to result in yet another installer for OS X which is OpenJDK specific.
Sorry...
Regards
Roger
a
anonymous
said
about 12 years ago
[This reply is migrated from our old forums. The original author name has been removed]
Re: Java 7 on Mac OS X with v8.0.10
Is there an update on this?
I got the command like to work - it seems:
Product: DbVisualizer Personal 8.0.10
Build: #1766 (2012/07/10 21:25)
Java VM: Java HotSpot(TM) 64-Bit Server VM
Java Version: 1.7.0_07
Java Vendor: Oracle Corporation
OS Name: Mac OS X
OS Arch: x86_64
OS Version: 10.8.1
But having to use the command line to make it work sort of gets old pretty fast. Is there a better solution? The previous post in this thread is several months old, so I thought something would have happened by now. THanks..
Roger Bjärevall
said
about 12 years ago
[This reply is migrated from our old forums.]
Re: Java 7 on Mac OS X with v8.0.10
Joe,
The reason for the silence is that we've found a couple of problems in Java 7 for Mac that stops us from officially supporting it.
Here is one: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7181956
As the workaround recommend, make sure you use another look and feel (specify this in Tools->Tool Properties in DbVisualizer) than the Mac look and feel.
We verify the currently known problems with every new release of Java 7 and hopefully it will be stable enough in a near version.
Regards
Roger
a
anonymous
said
about 12 years ago
[This reply is migrated from our old forums. The original author name has been removed]
Re: Java 7 on Mac OS X with v8.0.10
Roger,
Bummer - but thanks for the reply.
I don't have a pressing need to use Java 7 with DV, so it's not a huge deal at the moment.
Do you think the issue is with DV, or Oracle's Java 7 JVM for Mac?
Keep up the good work - I love DV.
Cheers,
j
Roger Bjärevall
said
about 12 years ago
[This reply is migrated from our old forums.]
Re: Java 7 on Mac OS X with v8.0.10
Joe,
The problem is in the JVM for OS X.
Regards
Roger
a
anonymous
said
about 12 years ago
[This reply is migrated from our old forums. The original author name has been removed]
Re: Java 7 on Mac OS X with v8.0.10
I found a bug in the v8.0.11 release (on Mac only, it seems), where when you paste information into the SQL Commander using the keyboard shortcut, it double-pastes the content into the editor. So every time I paste something, I am having to do an "undo" right afterwards to undo the 2nd paste so that the duplicate content gets removed.
Roger Bjärevall
said
about 12 years ago
[This reply is migrated from our old forums.]
Re: Java 7 on Mac OS X with v8.0.10
Andrew,
What Java version you are using? I assume Java 7 based on this thread subject but need to double check.
Regards
Roger
Hans Bergsten
said
about 12 years ago
[This reply is migrated from our old forums.]
Re: Java 7 on Mac OS X with v8.0.10
Hi Andrew,
Thanks for reporting this.
I have reproduced the behavior you describe with Java 7 on Mac OS Mountain Lion. We will look into what's causing this.
Best Regards,
Hans
anonymous