Cableguy Expert Licensed User Longtime User Apr 21, 2020 #1 Hi guys, I wonder if any of you guys are getting this too: (installed JAVA is 8 update 251) Code: Copy B4J Version: 8.10 Java Version: 11 Parsing code. (0.02s) Building folders structure. (0.01s) Compiling code. (0.04s) Compiling layouts code. (0.00s) Organizing libraries. (0.00s) Compiling generated Java code. Error src\com\ab\template\abmapplication.java:38: error: cannot find symbol public com.ab.abmaterial.ABMaterial _abm = null; ^ symbol: class ABMaterial location: package com.ab.abmaterial Note: src\com\ab\template\abmuploadhandler.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error javac 11.0.1
Hi guys, I wonder if any of you guys are getting this too: (installed JAVA is 8 update 251) Code: Copy B4J Version: 8.10 Java Version: 11 Parsing code. (0.02s) Building folders structure. (0.01s) Compiling code. (0.04s) Compiling layouts code. (0.00s) Organizing libraries. (0.00s) Compiling generated Java code. Error src\com\ab\template\abmapplication.java:38: error: cannot find symbol public com.ab.abmaterial.ABMaterial _abm = null; ^ symbol: class ABMaterial location: package com.ab.abmaterial Note: src\com\ab\template\abmuploadhandler.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error javac 11.0.1
OliverA Expert Licensed User Longtime User Apr 21, 2020 #2 Cableguy said: (installed JAVA is 8 update 251) Click to expand... Yet, you are not using it: Cableguy said: B4J Version: 8.10 Java Version: 11 Click to expand... Even though, I have no issues with Java 11 (11.0.1). BTW Cableguy said: (installed JAVA is 8 update 251) Click to expand... Hopefully a non-Oracle one, you know, due to licensing issues . I use Amazon's Corretto, even though it's from the new Borg (note: very personal opinion). Upvote 0
Cableguy said: (installed JAVA is 8 update 251) Click to expand... Yet, you are not using it: Cableguy said: B4J Version: 8.10 Java Version: 11 Click to expand... Even though, I have no issues with Java 11 (11.0.1). BTW Cableguy said: (installed JAVA is 8 update 251) Click to expand... Hopefully a non-Oracle one, you know, due to licensing issues . I use Amazon's Corretto, even though it's from the new Borg (note: very personal opinion).
Cableguy Expert Licensed User Longtime User Apr 21, 2020 #3 OliverA said: Hopefully a non-Oracle one, you know, due to licensing issues . I use Amazon's Corretto, even though it's from the new Borg (note: very personal opinion). Click to expand... it came pre-installed, no personal info required…. Upvote 0
OliverA said: Hopefully a non-Oracle one, you know, due to licensing issues . I use Amazon's Corretto, even though it's from the new Borg (note: very personal opinion). Click to expand... it came pre-installed, no personal info required….
OliverA Expert Licensed User Longtime User Apr 21, 2020 #5 BTW, I'm using ABMaterial 4.51. Seems to work fine with both the OpenJDK 11.0.1 provided by @Erel and Corretto's 212 update of JDK 1.8.0 Upvote 0
BTW, I'm using ABMaterial 4.51. Seems to work fine with both the OpenJDK 11.0.1 provided by @Erel and Corretto's 212 update of JDK 1.8.0
Cableguy Expert Licensed User Longtime User Apr 21, 2020 #6 OliverA said: BTW, I'm using ABMaterial 4.51. Click to expand... Me too… Never encountered such an error Upvote 0
OliverA said: BTW, I'm using ABMaterial 4.51. Click to expand... Me too… Never encountered such an error
OliverA Expert Licensed User Longtime User Apr 21, 2020 #7 Just compiled the feedback app (from 4.51), since I'm pretty sure it uses the upload handler. No issues. I guess I'm no help here. BTW, looks like your using the template provided by ABM. I just compiled it (the one provided by 4.51) and still no error message (or warning(s)). If you just want to zip up your modifications you made (if any), I'll gladly test it on my end. Upvote 0
Just compiled the feedback app (from 4.51), since I'm pretty sure it uses the upload handler. No issues. I guess I'm no help here. BTW, looks like your using the template provided by ABM. I just compiled it (the one provided by 4.51) and still no error message (or warning(s)). If you just want to zip up your modifications you made (if any), I'll gladly test it on my end.
Cableguy Expert Licensed User Longtime User Apr 21, 2020 #8 I have tested with the demo, unchanged, same error… I'm using the template (starting a new) and only changed the appname value Upvote 0
I have tested with the demo, unchanged, same error… I'm using the template (starting a new) and only changed the appname value
OliverA Expert Licensed User Longtime User Apr 21, 2020 #9 Then something strange with your java install? Upvote 0
Cableguy Expert Licensed User Longtime User Apr 21, 2020 #10 but how can I troubleshoot that??!! I just re-downloaded JDK and will see what that gives Upvote 0
OliverA Expert Licensed User Longtime User Apr 21, 2020 #11 I update mine in a little bit and see what happens. Looks like my 1.8 is a tad behind Upvote 0
Cableguy Expert Licensed User Longtime User Apr 21, 2020 #12 I have tried all demos, and even removed the uploadhandler module, and the error just shifted from it to ABMaterial lib Upvote 0
I have tried all demos, and even removed the uploadhandler module, and the error just shifted from it to ABMaterial lib
OliverA Expert Licensed User Longtime User Apr 21, 2020 #14 Used Amazon Corretto JDK 1.8.0_252 (64 bit - on Windows 10 Pro 64 bit) and compiled the ABMaterial template without issues. That error above would seem to suggest that the ABMaterial.jar file (or one of the other supporting files) cannot be found or may be damaged? Try re-downloading ABMaterial 4.51 and extrating the library files and placing them in the right location (overwriting any existing ones). Upvote 0
Used Amazon Corretto JDK 1.8.0_252 (64 bit - on Windows 10 Pro 64 bit) and compiled the ABMaterial template without issues. That error above would seem to suggest that the ABMaterial.jar file (or one of the other supporting files) cannot be found or may be damaged? Try re-downloading ABMaterial 4.51 and extrating the library files and placing them in the right location (overwriting any existing ones).
Cableguy Expert Licensed User Longtime User Apr 21, 2020 #15 The problem is, feedback is down and I cannot re-download it. I still have the ZIP file, and already un-zipped it, but same behaviour. Can you point me to this Amazon Correto and install? Upvote 0
The problem is, feedback is down and I cannot re-download it. I still have the ZIP file, and already un-zipped it, but same behaviour. Can you point me to this Amazon Correto and install?
OliverA Expert Licensed User Longtime User Apr 21, 2020 #16 Downloads for Amazon Corretto 8 - Amazon Corretto 8 List of downloads for Amazon Corretto 8. docs.aws.amazon.com You have to scroll in the list (only Linux version show up on top). Just saying it since I was confused at first (thought download page only had Linux version). Could be that I'm just getting old... Upvote 0
Downloads for Amazon Corretto 8 - Amazon Corretto 8 List of downloads for Amazon Corretto 8. docs.aws.amazon.com You have to scroll in the list (only Linux version show up on top). Just saying it since I was confused at first (thought download page only had Linux version). Could be that I'm just getting old...
Cableguy Expert Licensed User Longtime User Apr 21, 2020 #18 Same thing with Corretto: B4X: Copy B4J Version: 8.10 Java Version: 8 Parsing code. (0.40s) Building folders structure. (0.06s) Compiling code. (0.70s) Compiling layouts code. (0.00s) Organizing libraries. (0.00s) Compiling generated Java code. Error javac 1.8.0_252 src\abmaterial\ab\com\abmapplication.java:38: error: cannot find symbol public com.ab.abmaterial.ABMaterial _abm = null; ^ symbol: class ABMaterial location: package com.ab.abmaterial Note: src\abmaterial\ab\com\abmuploadhandler.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error Upvote 0
Same thing with Corretto: B4X: Copy B4J Version: 8.10 Java Version: 8 Parsing code. (0.40s) Building folders structure. (0.06s) Compiling code. (0.70s) Compiling layouts code. (0.00s) Organizing libraries. (0.00s) Compiling generated Java code. Error javac 1.8.0_252 src\abmaterial\ab\com\abmapplication.java:38: error: cannot find symbol public com.ab.abmaterial.ABMaterial _abm = null; ^ symbol: class ABMaterial location: package com.ab.abmaterial Note: src\abmaterial\ab\com\abmuploadhandler.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error
OliverA Expert Licensed User Longtime User Apr 21, 2020 #19 Is this a new computer? A new setup? Try to put the extra libraries directory somewhere in a path without a - in the name. Upvote 0
Is this a new computer? A new setup? Try to put the extra libraries directory somewhere in a path without a - in the name.
OliverA Expert Licensed User Longtime User Apr 21, 2020 #20 Or spaces! have no spaces in your path name (I think that one may be more important!) Upvote 0