Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

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: 9103
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.
 
Look! It's Leonardo da Vinci! And he brought a tiny ad!
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic