how do you run a java project off of a icon on the destop instead of through a compiler
Offline
bump
Offline
SJRCS_011 wrote:
you'd have to compile the .java files into .class files, then into a .jar
Then just double-click the jar and it'll run
how???
Offline
Are you using an IDE, like Netbeans or Eclipse?
Offline
BirdByte wrote:
slayerrobe7 wrote:
SJRCS_011 wrote:
you'd have to compile the .java files into .class files, then into a .jar
Then just double-click the jar and it'll runhow???
Don't all Java compilers have that ability?
![]()
umm on NetBeans it wont let me compile the button is not clickable (i assume is has already been compiled) so now what do i do
Offline
nickbrickmaster wrote:
Are you using an IDE, like Netbeans or Eclipse?
Netbeans
Offline
Shouldn't just clicking "Build Project" do the job? This creates a .jar in the /dist directory of your project, in your Documents folder.
Offline