jEdit Community - Resources for users of the jEdit Text Editor
javac not found
Submitted by kiz78 on Tuesday, 31 January, 2006 - 18:16
I get the error message below from the console when I try to compile a buffer. I can't find a way of telling jEdit where javac is! I'm sure it's very funny if you know where but please help I've wasted hours looking on the forums for advice. Plugins > Console > Commando... Doesn't have a drop down list as descibed in one forum answer I read.

I have jEdit 4.2final and jdk 1.5.0 update 2
I can't believe I can't just tell jEdit where to find javac wherever it may be in my filing system. Help, please!

List->Error List'
window.
C:\Program Files\jEdit 4.2>
C:\Program Files\jEdit 4.2> javac -classpath "$CLASSPATH;C:\Program Files\Java\projects" -sourcepath "C:\Program Files\Java\projects" -nowarn -encoding Cp1252 "C:\Program Files\Java\projects\CalcApplication2.java"
Error while running process: java.lang.Exception: Command not found: javac
C:\Program Files\jEdit 4.2>
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
qq
by hy263 on Tue, 29/08/2006 - 09:43
人体艺术 美女图片 美女走光 美腿图片 三级片 强奸电影 美女祼体图片 美女自拍 黄色电影下载 免费色情电影 激情图片 激情小电影 性感美女图片 漂亮妹妹图片 做爱图片 美少女 日本av女优 情色电影 同志电影 激情视频下载 明星露点图片 写真电影 阴部图片 乳房图片 明星裸照 性爱视频 偷拍图片 美眉图片 泳装美女 性爱贴图 性生活图片 作爱图片 艳情小说 性交姿势 做爱电影 人体摄影 美女裸照 裸女图片 黄色小说 成人小说 乱伦小说 强暴电影 轮奸视频 性虐待电影 迷奸图片 妓女日记全裸美女 淫荡小说 淫乱小说 淫书 舒淇写真 美女脱衣图片 裸体女人 人体写真 女性手淫图片 波霸美女 淫水美女鲍鱼 阴户阴道臀部阴毛 美女图库 口交肛交图片 写真集 A片下载 毛片 偷窥图片 裸体视频聊天室 成人网站 成人论坛 性爱论坛网站 性变态图片 淫女图片 日本女学生 美女下阴图 女性生殖器 操逼图片 美女激情 性教育片 两性知识 性爱图片 性爱电影 免费小电影 性电影 免费电影下载 免费在线电影 看免费电影 免费电影网站 韩国电影 免费成人电影 免费电影在线观看 宽带电影 经典电影 恐怖电影 免费影片 免费影院 最新大片 十八电影网 美女写真 两性生活 性教育片 两性知识 性爱图片 激情电影 免费黄色电影 最新电影 成人性爱电影 免费小电影 免费性电影 韩国电影 性知识 最新电影 宽带电影 经典电影 恐怖电影 人体艺术 美女图片 美女走光 性教育电影 同志电影 舒淇写真 写真集 性虐待电影 淫书 人体写真 A片下载 毛片 偷窥图片 裸体视频聊天室 成人网站 成人论坛 性爱论坛 变态日本女生 淫女 女大学生 美女下阴图 女性生殖器 操逼操比操屄 激情论坛 三级片 性爱电影 联通铃声下载 联通炫铃 联通彩铃下载 联通手机铃声 中国联通炫铃 联通彩铃 中国联通铃声 联通免费铃声 联通用户铃声 联通cdma铃声 联通和弦铃声 联通mp3铃声 联通特效铃声 联通炫铃下载 联通炫铃网站 联通炫铃业务 联通cdma炫铃 联通手机图片 联通手机炫铃 中国联通彩铃 联通手机彩铃下载 联通彩铃业务 联通彩铃网站 联通免费彩铃 联通cdma彩铃 戴尔笔记本报价 戴尔笔记本电脑价格 戴尔双核笔记本 戴尔电脑网站 戴尔家用电脑 戴尔电脑官方网站 戴尔台式机 戴尔网上订购 戴尔笔记本电脑网上订购 戴尔双核笔记本 戴尔服务器 戴尔电脑公司 戴尔电脑价格 戴尔台式电脑 戴尔手提电脑 戴尔中国 戴尔网站 戴尔笔记本官方网站 戴尔笔记本 戴尔笔记本电脑 dell笔记本电脑 双核笔记本电脑 戴尔笔记本电脑报价 戴尔电脑网上订购
Find javac.exe
by Robert Schwenn on Wed, 01/02/2006 - 20:59
The console-plugin starts the command ("javac ...") in the system console of Your operating system - seems to be windows.
Thats why You don't need to tell jEdit where javac.exe resides. You should care that windows finds the program. Two options:
1. Add the directory of javac.exe to the %PATH%-Variable, OR
2. Create a batchfile javac.bat in the jEdit-directory, that calls javac.exe with full path:
(path_to_javac.exe)\javac.exe %1 %2 %3 %4 %5 %6 %7 %8 %9

Robert
 
Thanks
by kiz78 on Tue, 07/02/2006 - 19:17
The autoexec.bat file is a bit too complicated for me on my thinkpad as it is all mixed up with the thinkpad utilities. However, the second method works perfectly! Brilliant, Thank you, Danke schon!

Is there anywhere I could find answers to these questions? I appreciate your help very much but I don't want to take advantage of your kindness. sooo...

You wouldn't happen to know where I could find out how to add a button to the toolbar for
1. compile
2. compile and run
3. run

or something like that anyway?

Thanks for your help already!
 
Customizing Toolbar
by Robert Schwenn on Wed, 08/02/2006 - 21:31
May be it's a help for You to enable the commando toolbar in plugin-options|console|general.

To costomize jEdit' Toolbar goto Global_Options|Toolbar. There You can choose any action (built-in or of a plugin) or any macro for a new or existing button.
I'm not sure, if there is an action for "compile AND run" - may be You have to write a macro therefore (see ..\jEdit\macros\misc\Run_Script.bsh).

Robert
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293