Dear friends ,
I am new to java . I created an JFrame(Calculator) application in Netbeans.Now i want to run that file from console(putty) since i gonna use that .java class in some other program through which i want invoke this . How do i do this . When i try to run the java file directly it throws
"Bad file descriptor" error . Can any one help me
Kamal_Java
0
Newbie Poster
Recommended Answers
Jump to PostSorry but you could not run the .java file. you should build the jar file from netBeans IDE and look to the out put. after building the jar the ouput will show you the command line to use.
You can also use the commande line to build the jar …
Jump to PostNot sure wht's going on here, but DeadSoul's post (the first one, not the insult) is incomplete. His instrctions give you the .java file, but you need a .class or a .jar to run the program (just like chirag said).
All 8 Replies
moutanna
2
Posting Whiz
DeadSoul
-2
Junior Poster in Training
chirag.jain18
0
Newbie Poster
DeadSoul
commented:
a nut
+0
DeadSoul
-2
Junior Poster in Training
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
918_Nix
0
Newbie Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.