Jiangtang's profile技止于此BlogListsNetwork Tools Help

Blog


    4/2/2007

    在UltraEdit中配置Java编译器

    昨天上网找如何在UltraEdit中配置Java编程环境,死活不成功,网上的说法多主张在命令栏输入完整路径名,如        

    1. Dr. Schoenly's courses:Use of UltraEdit (commercial software) for Java programming
    2. Dr. Olek's Computer Lab Handouts:How to set up UltraEdit to work with Java compilerr
    3. 一个新浪技术部博客:使用EditPlus配置Java编译环境
    4. 技术员资料:用EditPlus。还是用UltraEdit比较好

    我把这些贴出来,可能会对你有用,但我不知道他们是如何成功的。我用的是UltraEdit-32 Version13.00,在网上有试用版下载。我的UltraEdit能够自动识别Java的安装路径,具体设置如下:

    1. 打开UltraEdit——高级(Advance)——工具栏配置(Tool Configuration);
    2. 在命令栏(Command Line)依样输入javac "%f"
    3. 在工作目录(Working Directory)依样输入%p
    4. 在菜单项目名称(Menu Item Name)输入javac,表示这是Java编译器,这个名字随意,主要是前面两项要依样画瓢,不要输入完整的路径名; 接着在选项(Option)选中"Doc Program"和"Save all files first",在结果(Output)一栏选中"Output to List Box"和"Capture Output",好像是默认的,这样完了以后,就点插入(Insert);
    5. 然后是配置Java执行器了,类似地,跟Javac一样的栏目里,在命令栏和工作目录栏分别填入java "%n"和%p,然后在菜单项目名称里面给它命名为java;接下来在选项和输出的栏目里,钩上与javac设置一样的项目,点插入结束。

     

    这样配置好以后,点“高级”菜单就会出现“javac”和“java”这两个子项,以后在UltraEdit编写Java程序,就可直接点“javac”来编译,点“java”执行,再也不用打开cmd了。这两个子项还有相应的快捷键。

    Comments (1)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    No namewrote:
    您需要二手液晶显示屏废旧液晶屏么?我们是不折不扣的二手液晶屏、旧液晶屏大批发商,长期大量供应可再利用的旧液晶屏。我公司提供的各种尺寸的二手液晶屏, 不同厚薄如笔记本屏,均已经过我们严格的分类,检验,测试流程。请访问协力液晶屏www.sceondhandlcd.com[ghejbfhcjghgcae]
    Nov. 21

    Trackbacks

    The trackback URL for this entry is:
    http://johnthu.spaces.live.com/blog/cns!2053CD511E6D5B1E!141.trak
    Weblogs that reference this entry
    • None