Compiling class file to Jar always fails
so, im trying to compile a class file to a jar but I always get an error saying that it couldn't parse file arguments, what do I do?
19 Replies
⌛
This post has been reserved for your question.
Hey @Royalrex25! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose 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.
I've tried several variants of the jar command to no avail
and netbeans 23 doesn't have the option to build to a jar
Stack Overflow
How do I make a JAR from a .java file?
I was writing a simple program using a Java application (not application that has projects, but application within a project; .java) that has a single frame. Both of the files are .java so I can't ...
thanks, but now to program won't run and the gui won't open from the jar
use
to run it
it says that there's no main manifest attribute
ae
ae?
I forgot how to fix that part
let me remember
I used a secondary class that I set to the main class for my gui program if that helps
wait what IDE do you use?
netbeans 23, but I dont have an option for compiling to jar within netbeans 23
ah crap
I don't know how netbeans work
what?
sorry I couldn't help you
ive tried looking around and couldnt find anything online anyways
no problem, hopefully someone knows how to help
hopefully someone helps you
we can only hope
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.