Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Colombo
Red Hat Certified System Administrator (RHCSA) - RHEL 10
Sanjeewani95
Updated:
Friday at 7:43 PM
NURSING , CAREGIVER , HOTEL & BEAUTY COURSES
IVA Para Medical Campus
Updated:
Thursday at 9:24 AM
Handmade Character Soft Toys Peppa Pig Family
anil1961
Updated:
Wednesday at 9:58 PM
Ad icon
Video Content Creator
pramukag
Updated:
Jun 28, 2026
Ad icon
QA Engineer Intern
pramukag
Updated:
Jun 28, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
Thread for Programming and Realeted Topics
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="rclakmal" data-source="post: 5594535" data-attributes="member: 98858"><p>Elaz Go on with ur code !!<img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /> </p><p></p><p>Actually I run java programmes through <strong>Netbeans</strong> !!!! but if u haven't installed it on ur PC its all right u can still run this on <strong>Command Prompt</strong>.</p><p></p><p><strong>Step 1</strong></p><p></p><p>Copy the above code to a <strong>note pad</strong> file and save it on desktop(or a place where u like ) But you have to give the correct path when you Compile the code !!! I think U have installed JDK on ur PC and u have to set path ( i think u know how to do that ) and type javac on command prompt .If <strong>CMD </strong>identifies the comamnd then u have insatlled jdk succesfully .</p><p></p><p>Improtantly delete the line "package line;" from ur code ( It is used in Netbeans)</p><p></p><p><img src="http://img19.imageshack.us/img19/4050/63101744.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>then go to command prompt and go the palce where u saved file (i saved it in desktop) and type <strong>javac Line.java</strong> </p><p></p><p>then it will compile and in the next line type <strong>java Line</strong></p><p></p><p><img src="http://img25.imageshack.us/img25/7871/28016126.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>You r done!!!!!!!!!</p></blockquote><p></p>
[QUOTE="rclakmal, post: 5594535, member: 98858"] Elaz Go on with ur code !!:D Actually I run java programmes through [B]Netbeans[/B] !!!! but if u haven't installed it on ur PC its all right u can still run this on [B]Command Prompt[/B]. [B]Step 1[/B] Copy the above code to a [B]note pad[/B] file and save it on desktop(or a place where u like ) But you have to give the correct path when you Compile the code !!! I think U have installed JDK on ur PC and u have to set path ( i think u know how to do that ) and type javac on command prompt .If [B]CMD [/B]identifies the comamnd then u have insatlled jdk succesfully . Improtantly delete the line "package line;" from ur code ( It is used in Netbeans) [IMG]http://img19.imageshack.us/img19/4050/63101744.jpg[/IMG] then go to command prompt and go the palce where u saved file (i saved it in desktop) and type [B]javac Line.java[/B] then it will compile and in the next line type [B]java Line[/B] [IMG]http://img25.imageshack.us/img25/7871/28016126.jpg[/IMG] You r done!!!!!!!!! [/QUOTE]
Insert quotes…
Verification
Haya warak paha keeyada? (haya wadi kireema paha)
Post reply
Top
Bottom