Closed Zyr00 closed 4 years ago
which java compiler version are you using?
On Thu, Feb 20, 2020 at 4:01 PM João Cunha notifications@github.com wrote:
I just clone the repo and tried to build the project but to no effect Uname -r
[redacted@arch GraphTea]$ uname -a Linux arch 5.5.4-arch1-1 #1 SMP PREEMPT Sat, 15 Feb 2020 00:36:29 +0000 x86_64 GNU/Linux
Output:
[redacted@arch GraphTea]$ ./make.sh Buildfile: /home/redacted/projects/GraphTea/build.xml clean: [delete] Deleting directory /home/redacted/projects/GraphTea/binary [delete] Deleting directory /home/redacted/projects/GraphTea/build BUILD SUCCESSFUL Total time: 0 seconds Buildfile: /home/redacted/projects/GraphTea/build.xml depends: [mkdir] Created dir: /home/redacted/projects/GraphTea/build [mkdir] Created dir: /home/redacted/projects/GraphTea/binary [mkdir] Created dir: /home/redacted/projects/GraphTea/binary/lib [mkdir] Created dir: /home/redacted/projects/GraphTea/binary/plugins [mkdir] Created dir: /home/redacted/projects/GraphTea/binary/extensions compile: [javac] /home/redacted/projects/GraphTea/build.xml:67: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 878 source files to /home/tunes/projects/GraphTea/build [javac] /home/redacted/projects/GraphTea/src/graphtea/extensions/io/GraphSaveObject.java:7: error: package javax.xml.bind does not exist [javac] import javax.xml.bind.DatatypeConverter; [javac] ^ [javac] /home/redacted/projects/GraphTea/src/graphtea/plugins/main/core/AlgorithmUtils.java:75: warning: [dep-ann] deprecated item is not annotated with @Deprecated [javac] ArrayList<ArrayList
> getAdjList(BaseGraph<VertexType, EdgeType> g) { [javac] ^ [javac] /home/redacted/projects/GraphTea/src/graphtea/plugins/main/core/AlgorithmUtils.java:96: warning: [dep-ann] deprecated item is not annotated with @Deprecated [javac] int getDegree(BaseGraph<VertexType, EdgeType> bg, int node) { [javac] ^ [javac] /home/redacted/projects/GraphTea/src/graphtea/plugins/main/core/AlgorithmUtils.java:116: warning: [dep-ann] deprecated item is not annotated with @Deprecated [javac] ArrayList getNeighbors(BaseGraph<VertexType, EdgeType> g, VertexType source) { [javac] ^ [javac] /home/redacted/projects/GraphTea/src/graphtea/plugins/main/core/AlgorithmUtils.java:135: warning: [dep-ann] deprecated item is not annotated with @Deprecated [javac] ArrayList getNeighbors2(BaseGraph<VertexType, EdgeType> g, VertexType source) { [javac] ^ [javac] /home/redacted/projects/GraphTea/src/graphtea/extensions/io/GraphSaveObject.java:79: error: cannot find symbol [javac] return DatatypeConverter.printBase64Binary(getBytesOfGraph(g)); [javac] ^ [javac] symbol: variable DatatypeConverter [javac] location: class GraphSaveObject [javac] /home/redacted/projects/GraphTea/src/graphtea/extensions/io/GraphSaveObject.java:83: error: cannot find symbol [javac] return getGraphFromBytes(DatatypeConverter.parseBase64Binary(s)); [javac] ^ [javac] symbol: variable DatatypeConverter [javac] location: class GraphSaveObject [javac] /home/redacted/projects/GraphTea/src/graphtea/extensions/io/GraphSaveObject.java:87: error: cannot find symbol [javac] return getGraphSaveOobjectfromBytes(DatatypeConverter.parseBase64Binary(s)); [javac] ^ [javac] symbol: variable DatatypeConverter [javac] location: class GraphSaveObject [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 errors [javac] 4 warnings BUILD FAILED /home/redacted/projects/GraphTea/build.xml:67: Compile failed; see the compiler error output for details. Total time: 3 seconds Error: Unable to access jarfile binary/graphtea-main.jar — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rostam/GraphTea/issues/58?email_source=notifications&email_token=AAF37VISCSHOZ33I3TXVZVDRD2LNPA5CNFSM4KYQSBCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IPAP7BA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF37VN2PNW5MDE6KBFATITRD2LNPANCNFSM4KYQSBCA .
[redacted@arch ~]$ javac --version javac 13.0.2
The project compiles with java 7. some packages where removed in later java versions. possible solution: https://stackoverflow.com/questions/52502189/java-11-package-javax-xml-bind-does-not-exist
if you fixed it we would be happy for a pull request...
On Fri, Feb 21, 2020 at 12:08 PM João Cunha notifications@github.com wrote:
[redacted@arch ~]$ javac --version javac 13.0.2
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rostam/GraphTea/issues/58?email_source=notifications&email_token=AAF37VL6W4SBDUXXWGSBAVDRD6Y4HA5CNFSM4KYQSBCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMSLOIA#issuecomment-589608736, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF37VMZL5KQUARMZNSVCSLRD6Y4HANCNFSM4KYQSBCA .
Fixed with pull request #59
Since I merged request from @Zyr00 and the compilation works for now. So, I will close this issue.
I just clone the repo and tried to build the project but to no effect
Uname -r
Output: