I have to build JAR file from sources
but there's 1 problem
I can't download and use IDE right now.
Can someone build it or give instructions on how to do it, please?
Thank you in advance
#Build JAR from sources
32 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @brave saddle! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
you have JDK installed ?
yes
open cmd and navigate to the directory where your source files are located!
and thn
javac MyClass.java
exactly
javac -d build/classes src/com/example/MyClass.java
in yo project directory
i mean directory that contains the src directory and the build.xml file!
thn
BRUH
Check github repository
There's no xml files
Only java files
2 jar libraries
and .g4 file
aaah
javac -d build/classes src/com/example/MyClass.java
thn
jar cf myjar.jar -C build/classes .
thn
jar cfm myjar.jar manifest.txt -C build/classes .
i don't have manifest.txt
jar cf myjar.jar -C build/classes .