Re: Cannot find Java. Please use --jdkhome to switch the jdk path
Do you have a directory /usr/lib/jvm/java-7-openjdk-i386? If so do you have a /usr/lib/jvm/java-7-openjdk-i386/bin/javac?
By the way are you really meaning to use the 32-bit version? Normally you have a /usr/lib/jvm/default-java which should be a link to the JDK to use.
Warning: unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.