亂貼小站公告欄

Easy_run_class v1.0.3 歡迎下載 (2011.10.04)

 
主要對象:JAVA 程式語言的初學者 (Windows XP / Vista / 7 適用)。

 
主要功能:
1.自動幫忙設定 JDK 的相關環境。
2.為副檔名為 .java 的檔案提供右鍵選單可直接【編譯並執行】。
3.為副檔名為 .class 的檔案提供雙擊即可快速執行的功能。

 
歡迎大家多多推廣。若有任何使用上的問題均可在此站留言。

終於找到在 windows 7 中替某個程式加上【以系統管理員執行此程式】的方法了!!

這樣的話,我在 Easy_run_class 中新增 PATH 應該就不會遇到什麼問題了

要新增資料到登錄檔裡面

安裝程式都可以代勞~

接下來的比較大的問題...可能就是要怎麼辦找到 JDK 的路徑了吧 (在沒有安裝在預設路徑的情況下)


本文章轉載自:http://www.sevenforums.com/tutorials/316-compatibility-mode.html

1. Open the Start Menu, then type regedit in the search box and press Enter.

2. If prompted by UAC, then click on Yes.

3. In regedit, navigate to the location below. (see screenshot below)

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

Compatibility Mode-reg1.jpg

4. To Run a Program in Compatibility Mode

A) In the right pane of Layers, right click on a empty area and click on New, then onString Value. (see screenshot below)

Compatibility Mode-reg2.jpg

B) Type in the full path of the program's exe file and press Enter, then right click on the full path and click on Modify. (see screenshot below)

Compatibility Mode-reg3.jpg

C) Type in a single or combination of Data values (see tables below) for how you want to run the program as, and click on OK. (see screenshot below)

NOTE: If you use more than one Settings, then you must add them in the order they are in the table below.

[Compatibility Mode (only one)] + space + [Settings (one or more with a space inbetween)] + space + [Privilege Level]

Compatibility Mode-reg4.jpg

Compatibility ModeData Value
Windows 95 WIN95
Windows 98 / Windows Me WIN98
Windows NT 4.0 (Service Pack 5) NT4SP5
Windows 2000 WIN2000
Windows XP (Service Pack 2) WINXPSP2
Windows XP (Service Pack 3) WINXPSP3
Windows Server 2003 (Service Pack 1) WINSRV03SP1
Windows Server 2008 (Service Pack 1) WINSRV08SP1
Windows Vista VISTARTM
Windows Vista (Service Pack 1) VISTASP1
Windows Vista (Service Pack 2) VISTASP2
Windows 7 WIN7RTM

SettingsData Value
Run in 256 colors 256Color
Run in 640 x 480 screen resolution 640x480
Disable visual themes DISABLETHEMES
Disable desktop composition DISABLEDWM
Disable display scaling on high DPI settings HIGHDPIAWARE

Privilege LevelData Value
Run this program as an Administrator RUNASADMIN

Posted by 和風信使 at 痞客邦 PIXNET 留言(1) 引用(0) 人氣()


open trackbacks list Trackbacks (0)

留言列表 (1)

Post Comment
  • Syne Art
  • 系統環境變數(HKCU):
    HKEY_CURRENT_USER\Environment

    JDK& JRE 安裝路徑(HKLM):
    HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft
  • 這個路徑我知道:)
    但是這個東西有的時候會沒辦法用= =
    因為在 windows 7 系統之中
    使用 reg.exe 是有可能需要系統管理者權限的...
    沒有權限,就讀不到QQ
    .
    reg query "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.6" /v JavaHome > path.txt
    我是會下上面那個指令去讀取這個路徑啦,可是這個真的不穩定QAQ
    想找有沒有能夠提升權限的方法

    和風信使 replied in 2011/10/03 12:13

You haven’t logged in yet, please use guest status to leave message. You can also log in with above service account and leave message

other options