Hi,
I am trying to use jmavsim for some quadcopter simulation. I am unable to get it installed. I cloned
the git repo and tried to compile it using ant but the compilation failed.
Here’s my output
compile:
[javac] Compiling 64 source files to /home/ali/workspace/jMAVSim/out/production/jMAVSim
[javac] /home/ali/workspace/jMAVSim/src/me/drton/jmavsim/SimpleEnvironment.java:14: error: unmappable character for encoding ASCII
[javac] public static final double M = 0.0289644; // molar mass of Earth???s air [kg/mol]
[javac] ^
[javac] /home/ali/workspace/jMAVSim/src/me/drton/jmavsim/SimpleEnvironment.java:14: error: unmappable character for encoding ASCII
[javac] public static final double M = 0.0289644; // molar mass of Earth???s air [kg/mol]
[javac] ^
[javac] /home/ali/workspace/jMAVSim/src/me/drton/jmavsim/SimpleEnvironment.java:14: error: unmappable character for encoding ASCII
[javac] public static final double M = 0.0289644; // molar mass of Earth???s air [kg/mol]
[javac] ^
[javac] 3 errors
BUILD FAILED
How can you please help me!!!
EDIT :
I solved it by modifying the java encoding options
export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8