Notes for studing Java - Development preparation

I'm now ready to study Java again. It has been years since last time I touched it, and will rework with it sooner.

First of all, I have to create a basic environment for developping Java. 


OSWindows 7
Java Version1.7.0
Source code editorNotepad++
 

 Prepare a simple IDE with Notepad++

To enbale "Auto Complete"

Go to menu "Settings >Preferences", click tab "Backup and Auto Complete", then configure as:

Download Notepad++ plugin "NppExec"

Go to menu "Plugins>Plugin Manager >Show Plugin Manager", then find "NppExec" in tab "Available" andInstall.

Or just go to http://sourceforge.net/projects/npp-plugins/files/ and download & install. (may be very slow to you)

Or go to http://download.csdn.net/download/wxqee/5023600 (my csdn shared resources).

Configure "NppExec" to compile & run a single Java file.

Go to menu "Plugins>NppExec>Execute...", then configure the textarea as a new script with the following scripts:

cd $(CURRENT_DIRECTORY)
javac $(FILE_NAME)
java $(NAME_PART)


Then  "Save..." as a script.

Try a demo "Hello world".

 Create a java scource file "Main.java" anywhere, as

import java.io.*;

public class Main {
    public static void main (String[] args) {
        System.out.println("Hello World");
    }
} 

Then go to menu "Plugins NppExec Execute...", choose the script that just created, and click "OK", to see the output down in "Console"..


Oh, yeah. It works!!


TODOs:

1.Object-Relational Mappting

2.JAXB


Note is at EOF



 



 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值