全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1312
推到 Plurk!
推到 Facebook!

J2ME导入库时报错的原因

尚未結案
小丫123
初階會員


發表:85
回覆:62
積分:29
註冊:2004-08-31

發送簡訊給我
#1 引用回覆 回覆 發表時間:2005-01-11 17:23:49 IP:218.65.xxx.xxx 未訂閱
我用的开发工具是eclipse+me,每次我在Java构建路径→库→添加外部jar文件→确认后报错,原因:Could not find jar tool executable 但是导入的class可以引用。这个问题该怎么解决吗? Help Me
rogan321
高階會員


發表:21
回覆:307
積分:200
註冊:2003-05-15

發送簡訊給我
#2 引用回覆 回覆 發表時間:2005-01-12 02:28:30 IP:203.204.xxx.xxx 未訂閱
Hi~小丫123 The process of obfuscated packaging requires that the jar file created by the obfuscation tool must be preverified again. The preverifier tool needs to be able to invoke the jar executable tool while preverifying the jar file from the PATH environment. EclipseME searches for the jar executable within the "Installed Java Runtime Environments" in your Eclipse installation. EclipseME must find at least one full Java Development Kit within the Installed JRE's (a subcategory of the Java category). By default, Eclipse will recognize a JRE rather than a full JDK on Windows. To solve this problem, make sure to point the location of the installed JRE instance to the root directory of the JDK directory. For instance on Windows, that might be something like c:\j2sdk1.4.2.
小丫123
初階會員


發表:85
回覆:62
積分:29
註冊:2004-08-31

發送簡訊給我
#3 引用回覆 回覆 發表時間:2005-01-12 10:49:30 IP:218.65.xxx.xxx 未訂閱
Thank you rogan321,我已经将j2sdk1.4.2_06安装在C目录下,但是还是会报错“ Could not find jar tool executable.The jar tool requires a full JDK installation. Specify a full JDK installation in the java preferences. 原因:Could not find jar tool executable”,不过添加的jar文件自动保存到C\ksoap下了. How to slove? Help Me
rogan321
高階會員


發表:21
回覆:307
積分:200
註冊:2003-05-15

發送簡訊給我
#4 引用回覆 回覆 發表時間:2005-01-12 14:51:06 IP:203.204.xxx.xxx 未訂閱
請問你環境路徑設定了嗎? Microsoft Windows NT, 2000, and XP - To set the PATH permanently:     Choose Start, Settings, Control Panel, and double-click System. On Microsoft Windows NT, select the Environment tab; on Microsoft Windows 2000 select the Advanced tab and then Environment Variables. Look for "Path" in the User Variables and System Variables. If you're not sure where to add the path, add it to the right end of the "Path" in the User Variables. A typical value for PATH is: C:\j2sdk1.4.2_\bin Capitalization doesn't matter. Click "Set", "OK" or "Apply". The PATH can be a series of directories separated by semi-colons (;). Microsoft Windows looks for programs in the PATH directories in order, from left to right. You should only have one bin directory for a Java SDK in the path at a time (those following the first are ignored), so if one is already present, you can update it to j2sdk1.4.2_\bin. The new path takes effect in each new Command Prompt window you open after setting the PATH variable.
系統時間:2024-05-09 13:10:28
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!