Skip to content
Advertisement

Tag: java

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 how to fix it would be highly appreciated. Kubuntu 12.04, Openjdk 1.7,

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. And verify than environment variable

Runtime.exec not working

I’m trying to run the following code to swap filenames. I’m using Runtime.exec. The code throws IOException. Anyway to fix this? And the error: 02-28 07:48:02.936: W/System.err(14399): java.io.IOException: Error running exec(). Command: [file1=/mnt/sdcard/fsimages_3, &&, file2=/mnt/sdcard/fsimages, &&, temp=”$(/system/xbin/mktemp, -dp, /mnt/sdcard)”, &&, /system/xbin/mv, “$file1”, $temp, &&, /system/xbin/mv, “$file2”, “$file1″, &&, /system/xbin/mv, $temp/”$file1”, “$file2”] Working Directory: null Environment: null It looks like Runtime.exec

Tomcat is running but 8080 port is not responding

I have installed sun jdk 1.6 x64 and tomcat in a linux x64 machine through ssh, I don’t have root privileges so I installed both in my home dir. I managed to successful run tomcat but if I try to enter mydomain.com:8080 there’s no answer from the server. With this command: I checked the port and it is LISTENING Any

Crash when calling autoSizeColumn on worksheet, when run under Linux (Servicemix)

I’ve written module that generates excel, and deployed it under Servicemix. In Windows environment everything is fine, but under Linux Servicemix unexpectedly crashes on following call: I’m using POI version 4.2-FINAL, FuseESB 4.2, Java 5.0. There are, however, no hs_err*.pid files. Servicemix logs ends on first autoSizeColumn call. Did anyone met such behaviour and know, how it is caused and

Correct way to build “live” directory structure after maven build?

I have a multi module maven project which looks something like: main component_one subcomponent_bob subcomponent_mike subcomponent_joe component_one_aggregate component_two subcomponent_tim subcomponent_lary component_two_aggregate The aggregate projects create parent jars for each of the components containing all of their subcomponents. I have a pom in each directory, and it all deploys to a local repository. Everything works great! Except that I would like

eclipse/tomcat: deploy doesn’t work any more (ClassNotFoundException)

I’m running Eclipse Helios Service Release 1, with Tomcat 7.0.12 in Linux Ubuntu Natty Narwhal. I’ve been happily hot re-deploying my webapp until it stopped working for apparently no reason. The following exception is displayed: In Servers tab I’ve “Tomcat v7.0 Server at localhost [Started,Synchronized] My project appears as a child of Tomcat v7.0 Server In Properties, Java Build Path,

Advertisement