🔒 Closed Ask about textpad and jgrasp and any java compilers

Status
Not open for further replies.

Princess Serrano

Honorary Poster
Sa school po kasi, textpad gamit namin (slightly obsolete) version 4 pa siya. And i think yung java dun is 1.6 version. Now, nag install ako ng textpad together with jgrasp sa laptop ko, fixing the problem, nakapag install din ako ng prerequisite ng application na java 1.8 SE or sdk, something like that. The problem is, dun sa school pag nag rurun kami ng compiled java script, lumalabas siya sa terminal or aka cmd while dito sa laptop, walang cmd na lumalabas kundi dun lang nakalagay yung output nung codes ko sa baba lang. Para sakin its hard to find the output kapag dun lang. So question pano macompile sa cmd yung output?
 

Attachments

  • 3.webp
    3.webp
    30.4 KB · Views: 20
I think you forgot to type `javac` before your `filename.java` to compile your program. To run it, you must type `java` before your class name, note that in this case, you don't have to type the file extension which is `.java` when running it.
 
Status
Not open for further replies.

About this Thread

  • 4
    Replies
  • 704
    Views
  • 2
    Participants
Last reply from:
5JraBwYnxCYaSO1Lc4leQ

Online now

Members online
1,054
Guests online
1,054
Total visitors
2,108

Forum statistics

Threads
2,275,670
Posts
28,964,688
Members
1,231,899
Latest member
jeron05
Back
Top