ehetu Member Licensed User Longtime User Sep 15, 2012 #1 Just did a fresh install of B4A on new computer and trying to compile samples. When I run the hpptutils2 (and several other samples) I get this error. javac: file not found: src\anywheresoftware\b4a\samples\httputils2\main.java When I run the ACL sample, I get this one: Compiling code. 0.01 Compiling layouts code. 0.00 Generating R file. 0.00 Compiling generated Java code. Error javac 1.7.0_07 src\com\rootsoft\acl\main.java:54: error: cannot find symbol processBA.activityBA = null; ^ symbol: variable activityBA location: variable processBA of type BA 1 error I've checked for duplicate B4Ashared.jar files and there is only one in the libraries folder. I have an additional libraries folder but none have the B4AShared.jar file. Any ideas? Edmond
Just did a fresh install of B4A on new computer and trying to compile samples. When I run the hpptutils2 (and several other samples) I get this error. javac: file not found: src\anywheresoftware\b4a\samples\httputils2\main.java When I run the ACL sample, I get this one: Compiling code. 0.01 Compiling layouts code. 0.00 Generating R file. 0.00 Compiling generated Java code. Error javac 1.7.0_07 src\com\rootsoft\acl\main.java:54: error: cannot find symbol processBA.activityBA = null; ^ symbol: variable activityBA location: variable processBA of type BA 1 error I've checked for duplicate B4Ashared.jar files and there is only one in the libraries folder. I have an additional libraries folder but none have the B4AShared.jar file. Any ideas? Edmond
P Penko Active Member Licensed User Longtime User Sep 15, 2012 #2 It's possible that the installation was not able to replace the BAShared for some reason. Why don't you try to install to a different location and see if this problem persists? A blank new folder where B4A has never resided. Upvote 0
It's possible that the installation was not able to replace the BAShared for some reason. Why don't you try to install to a different location and see if this problem persists? A blank new folder where B4A has never resided.
ehetu Member Licensed User Longtime User Sep 15, 2012 #3 Fixed... Thanks Penko...that wasn`t the problem but doing that helped me focus on what was happening. I was running the programs under the B4A application folder which is protected. So the main java file didn`t ever get created. I move the code files to another location and now it works.... Thanks... Edmond Upvote 0
Fixed... Thanks Penko...that wasn`t the problem but doing that helped me focus on what was happening. I was running the programs under the B4A application folder which is protected. So the main java file didn`t ever get created. I move the code files to another location and now it works.... Thanks... Edmond