Skip to content

NetBeans GUI builder: “loading…” message

Sample project from the NetBeans tutorials set contains only one Swing form (empty JFrame), compiles and runs fine, but I can’t change layout of the form and add elements in it with the NetBeans GUI buider since it shows only empty placeholder with single “loading…” message. Any clues …

check if argument is a valid date in bash shell

I am writing a bash shell script in Linux, this program will accept a date (mm-dd-yyyy) as a parameter. I am wondering if there is a simply way to check if the date is valid? is there an operator and I can just use test to check? Answer You can check with date -d “datestring” So date -d “12/…

Switch maven version – mvn command does not get bound

I’m trying to switch maven from 2 to 3 (on Linux) using: Anyway mvn -v still gives version 2, so I always have to execute /path/to/maven3/bin/mvn to use maven. How can I rebind the mvn command to the appropriate maven path? Answer which mvn And then recreate symbolic link to point on new Maven version. …

Porting windows application to linux

I have an application which I need to port on Linux. I was thinking to use Free Pascal the problem is the application uses Windows API’s to perform tasks such as serial port communication etc… Is there a msdn for linux users or a book covering how linux works internaly if there are apis. I am very…

libaio.so.1: cannot open shared object file

I have a simple test program that when I run I get: I link it like this: My LD_LIBRARY_PATH contains this: /usr/lib looks like this: Output of ldd hello: I’m hoping that I’m missing something simple here. The oracle instantclient package appears to require libaio, but that seems to be installed al…