Recompiling using JAVAC command

103 views Asked by At

this is the folderI am battling to convert classes2-dex2jar.jar.src.java.

So I deleted ONE DRIVE which was recommended. JDK-8u321 and JRE-8u321 are properly installed.

But whenever I say : javac classes2-dex2jar.jar.src.java it's saying javac: not a file. I also tried javac classes2-dex2jar.jar.src.java\* still it's javac not a file.

this file folder contains many java sourcefiles

this is the command's response

1

There are 1 answers

7
Joop Eggen On

I am unsure about the real situation.

  • Unzip classes2-dex2jar.jar.
  • It contains a sub-directory src/java/ with sources typically in a directory tree.
  • For every package there is a directory: package x.y.z giving x/y/z/.
  • You would need to call javac inside src/java listing all *.java with src/java on the class path (-cp .).
  • (It might be easier to do this in an IDE.)