This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Swapna Agarwal
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could any one please pose some light on this...
thanks
 
Ravikumar Arunachalam
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
saravanan balu
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
TextPad does not include the jdk.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic