File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes How to compile & Run in Textpad using CTRL+1 , CTRL+2..?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How to compile & Run in Textpad using CTRL+1 , CTRL+2..??" Watch "How to compile & Run in Textpad using CTRL+1 , CTRL+2..??" New topic
Author

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

Swapna Agarwal
Ranch Hand

Joined: Jan 30, 2004
Posts: 37
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

Joined: Jan 30, 2004
Posts: 37
could any one please pose some light on this...
thanks
Ravikumar Arunachalam
Greenhorn

Joined: Mar 31, 2004
Posts: 3
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.


Ravikumar A<br />Programmer Analyst,<br />Cognizant Technology Solutions,<br />Chennai.
Swapna Agarwal
Ranch Hand

Joined: Jan 30, 2004
Posts: 37
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
saravanan balu
Ranch Hand

Joined: May 19, 2000
Posts: 49
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.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9053
    
  12
TextPad does not include the jdk.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to compile & Run in Textpad using CTRL+1 , CTRL+2..??