#creating an executable java file

4 messages · Page 1 of 1 (latest)

violet tinsel
#

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'''
coral ploverBOT
#

This post has been reserved for your question.

Hey @violet tinsel! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant 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.

violet tinsel
#

I think I bracketed wrong.