Paradox Crew (Paul)
JCHJava Community | Help. Code. Learn.
•Created by Paradox Crew (Paul) on 1/4/2025 in #java-help
creating an executable java file
according to Visual Studio Copilot I'm doing everything right, but I keep getting the following error
'''jar : The term 'jar' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ jar cfm ArsenalRandomizer.jar manifest.txt Main.class lib/gson-2.11.0 ...
+ ~~~
+ CategoryInfo : ObjectNotFound: (jar:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException'''
5 replies
JCHJava Community | Help. Code. Learn.
•Created by Paradox Crew (Paul) on 1/4/2025 in #java-help
Importing and compiling issues
I've been aided heavily by ChatGPT and VisualBasic copilot but we can't seem to fix this issue. I'm importing gson which didn't seem to exist, so I downloaded 2.11.0 version of gson and added it to a lib folder in the correct directory, but the compiler seems to not notice it or care about it.
10 replies