• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

How to compile & Run in Textpad using CTRL+1 , CTRL+2..??

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to use Textpad4.5, i want to use "ctrl+1 " for compilation and ctrl+2 for running my java program.How to set those parameters in textpad properties?My directory structure is like this
JavaFiles-->
SourceFiles
ClassFiles
As i am new to java,textpad, your help is highly appreciated
thanks
swapna
 
Swapna Agarwal
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
could any one please pose some light on this...
thanks
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Go to Configure -> Preferences -> Tools. Now you could see a Add button. Click it. You can see a menu option Java SDK Commands. Select them.
Now you can expand the Tools. Give ok.

It will take the $JAVA_HOME from the environment variable. So you have to set that variable.

After this you can start using CTRL+1 ( Compile ), CTRL+2 (Run Application), CTRL+3 (Run Applet). You can also change these keys using Keyboard settings.

bye.
 
Swapna Agarwal
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
after i click on ADD button, i found
Program...
DOS command
Online Help file
Menu Separator

I did't find any Java SDK ....
Could you plz be clear after this step
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Generally when u set your class path and PATH properly, the TextPad automatically uses the system variables to compile and run your java application and you dont have to set anything.
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
TextPad does not include the jdk.
 
Amateurs built google. Professionals built the titanic. We can't find the guy that built this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic