Java Question Error generating, xml ,eclipse, javac

PABLO2013

Well-Known Member
Licensed User
Longtime User
Greetings I have this error and I have tried everything and I don't know how to solve it, I try to generate the xml of this library, but I can't , it already generates the jar, but I can't with the xml, thanks

javac: invalid flag: -doclet
Usage: javac <options> <source files>
use -help for a list of possible options




error.png
 

PABLO2013

Well-Known Member
Licensed User
Longtime User
thanks donmanfred, the truth is that i went from java 11 to 6 to test because in both it gives the same error.
 

PABLO2013

Well-Known Member
Licensed User
Longtime User
More thanks Donmanfred... right now I use it but this comes out:

Starting step: Compiling Java code.
C:\DJI LIBRARIES 2022\other\src\shp\pat\b4a\PointBa.java:14: error: cannot find symbol
shp Shapefile = new Shapefile(Shapefile.SHAPETYPE_POINT);
^
symbol: class Shapefile
location: class PointBa
1 mistake

javac 11.0.1

Error.
 

PABLO2013

Well-Known Member
Licensed User
Longtime User
Thanks Agraham, sorry , can you tell me what the doclet version is the last, and in which sdk it works, the truth is that there are many versions, it is possible I have a very old doclet... I don't know
 

agraham

Expert
Licensed User
Longtime User
Latest BADoclet is in the SLC zip. The Android SDK SLC uses is taken from the IDE javac.exe path.
 

PABLO2013

Well-Known Member
Licensed User
Longtime User
... right now I use it but this comes out:

Starting step: Compiling Java code.
C:\DJI LIBRARIES 2022\other\src\shp\pat\b4a\PointBa.java:14: error: cannot find symbol
shp Shapefile = new Shapefile(Shapefile.SHAPETYPE_POINT);
^
symbol: class Shapefile
location: class PointBa
1 mistake

javac 11.0.1

Error.
 

PABLO2013

Well-Known Member
Licensed User
Longtime User
yes you were right it was a compilation error, now everything works fine thanks
 
Top