From owner-freebsd-ports@FreeBSD.ORG Tue Jun 3 18:21:12 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 433D6F6F for ; Tue, 3 Jun 2014 18:21:12 +0000 (UTC) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 25BE827CC for ; Tue, 3 Jun 2014 18:21:11 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WrtKg-0006nV-GY for freebsd-ports@freebsd.org; Tue, 03 Jun 2014 11:21:10 -0700 Date: Tue, 3 Jun 2014 11:21:10 -0700 (PDT) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <1401819670506-5917484.post@n5.nabble.com> Subject: databases/sqldeveloper: observations & questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2014 18:21:12 -0000 Hi. First off, a big thanks to who whoever ported this, it's a nice piece of software. I wanted to share some observations plus questions. * I have "JAVA_PREFERRED_PORTS=JAVA_PORT_NATIVE_OPENJDK_JDK_1_8". Although sqldeveloper complains on startup that max logical version is =1.8, my finding is that defining SetJavaHome to openjdk7 actually does worse - Xorg freezes and needs to be restarted. openjdk 1.8+ is working quite well (on 11-C). * After starting sqldeveloper, I wanted to install plugins (Help > Check Updates > Updates), in particular CVS_Support. This failed due to "insufficient privileges". So unlike NetBeans, sqldeveloper is trying to install some of the binaries under /usr/local? * Being the genius that I am, I did a temporary "chown" to my user of folder /usr/local/share/java/sqldeveloper. Plugins started to install but gave an error message at some point. Starting "sqldeveloper -verbose" after this step crashes with below: at org.netbeans.core.netigso.Netigso.findResources(Netigso.java:379) at org.netbeans.NetigsoModule.findResources(NetigsoModule.java:177) at org.netbeans.core.startup.NbInstaller.loadLayers(NbInstaller.java:625) at org.netbeans.core.startup.NbInstaller.loadImpl(NbInstaller.java:356) at org.netbeans.core.startup.NbInstaller.access$000(NbInstaller.java:105) at org.netbeans.core.startup.NbInstaller$1.run(NbInstaller.java:346) at org.openide.filesystems.FileUtil$2.run(FileUtil.java:431) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:127) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:609) at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:415) at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:435) at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:343) at org.netbeans.ModuleManager.enable(ModuleManager.java:1188) at org.netbeans.ModuleManager.enable(ModuleManager.java:1011) at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340) at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276) at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:181) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150) at org.netbeans.core.startup.Main.start(Main.java:307) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123) at java.lang.Thread.run(Thread.java:745) Error: SQL Developer can't recognize the JDK version * I started NetBeans as well, but did not find any comparabel plugins with what I was trying to install in sqldeveloper. So my point is, 1. Has anyone found a way to install the plugins? 2. This software seems to share a lot with NetBeans. Maybe it's possible to import sqldeveloper as a NetBeans project? It may also be possible to install the sqldeveloper plugins under ~/.netbeans together with other oracle_java modules as the modules appear quite similar. Thanks again. ----- FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS -- View this message in context: http://freebsd.1045724.n5.nabble.com/databases-sqldeveloper-observations-questions-tp5917484.html Sent from the freebsd-ports mailing list archive at Nabble.com.