Posts

Showing posts with the label Mac

NetBeans 7.4 recent projects

Image
Recently I had the need to remove one project from my recent projects list in NetBeans.  The problem was I had opened a very large project which was causing the    I found a few references to where one might find the file which contains the recent project list for older versions of NetBeans but they seemed to be a little dated.   The file I wanted to find and edit is called projectui.properties I happen to be on a Mac so that file could be found here: ~//Library/Application Support/NetBeans/7.4/config/Preferences/org/netbeans/modules I opened the file with a text editor and looked for the project name in the openProjectsDisplayNames entries.  Each of the entries include a dot followed by a number at the end to make them unique.  Once I found it, I noted the number and deleted that line.   Next I removed the corresponding entries in the openProjectsIcons and openProjectsURLs sections as well. I have a cou...

LibreOffice

I was recently asked about Mac/OS X software which can read and write WordPerfect format files.  As a not-so-regular but long-time OpenOffice user, the OpenOffice/LibreOffice debacle immediately came to mind.  There were numerous articles and blogposts written about the situation including a good bit of FUD.  The net effect on me is that I don't immediately know which one to recommend, assuming such a solution is otherwise in the best interest of the user. Ultimately I tested LibreOffice 4.1.4 on a couple of handy WP files I had handy and it worked well enough for my own needs.  [The latest version of OpenOffice I had installed would not read WordPerfect files but I believe I have used a filter to do so in the past.] The trick, however, seemed to be actually downloading a current copy from the LibreOffice site .  Perhaps I caught it at a bad time, but I had to try three mirror sites before I could get anything close to a reasonable download speed or worse ...

JDeveloper 12c on OS X

Image
It's pretty cool that JDeveloper is now a NetBeans platform app .  Wanting to give it a quick look on OS X I downloaded the Java edition generic installation. Unfortunately after unzipping it and placing it in Applications, it would not launch. Trying from the command line using this command open -n ./JDeveloper.app gave me a error: LSOpenURLsWithRole() failed with error -10810 for the file /Applications/jdeveloper/JDeveloper.app. Given past history trying to get JDeveloper going on OS X I thought I might try the JAVA_HOME environment variable first. First I checked which versions are available with this command: /usr/libexec/java_home -V this was the output: Matching Java Virtual Machines (5):     1.7.0_25, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home     1.7.0_21, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home     1.7.0_17, x86_64: "Java SE 7" /Li...

OS X 10.8.2 ENV help

I tend to use a MacBook for most of my daily computing.  Apple, like many computer companies, tends to change little things that sometimes impact a minority of users and therefore the changes don't get much press. Recently I had the need to set a couple of environment variables on a computer running OS X 10.8.2.  There was a change in how environment variables are set or at least respected by some applications. This can be done manually and I was doing so until recently...today that is.  I found EnvPane  which is a very nice little utility.  I was using another one but it had not been updated for 10.8.2.
I have been playing with JavaFX in NetBeans a bit lately. When I tried to run an app without the development environment I was presented with an (ugly) message which said I needed to install the JavaFX runtime. I was not able to find instructions on how to do this quickly so I thought I would post my solution. JavaFX 2.x runtime on OS X Get JavaFX 2.x from Oracle if you don't already have it handy (my current version is installed in /opt/javafx-sdk2.1.0-beta) Find "JAVA_HOME" - this can be done using this command: /usr/libexec/java_home My JAVA_HOME is /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Copy the JavaFX runtime files to the JAVA_HOME/lib/endorsed directory Given my settings after changing to JAVA_HOME I used this command: sudo cp /opt/javafx-sdk2.1.0-beta/rt/lib/* lib/endorsed