Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Miss BBEdit?

Miss BBEdit?
Thread Tools
Senior User
Join Date: Oct 2000
Location: Dallas, TX
Status: Offline
Reply With Quote
Oct 13, 2000, 10:15 AM
 
I posted this in a different thread, but wanted to repost, it, because it's great software, runs on Cocoa, is open-source, and offers most of the important functionality (if not more) of BBEdit. Sorry for the double-post, but most of the people I know running X really, really miss having a native text editor like BBEdit.
-----
http://jedit.sourceforge.net/

...has ftp, syntax highlighting for every programming language you can think of, and although you have to launch it via the command line, it has a regular GUI when launched.

The only major drawback is that since it's a java app, the command and control keys are backwards- meaning control-c to copy... but the author promised me that a future release would have pre-defined key maps.

If you decide to try it, download the beta version: 2.6pre8
And follow the UNIX installation instructions on the site.

As soon as you've launched it, go to the Global Options (Preferences) panel and set the Look/Feel to Mac OS, for the nice new Java AQUA GUI.
     
Fresh-Faced Recruit
Join Date: Apr 1999
Location: San Diego, CA USA
Status: Offline
Reply With Quote
Oct 13, 2000, 07:50 PM
 
I'm already using the "stable" version as a replacement for BBEdit. It's a little slow plus I have to always launch it from the command-line in the foreground (no &.. I can't get it to remember what Edit Mode I have selected (HTML).. it always reverts to ASP. Pretty good program. If it was faster I'd definitely use it more often. It's just weird to have all the Java programs running under one "process", which is the "Java" document you see in the Dock. How much different is the beta version? Any cool improvements?

------------------
Glenn
47 Ronin Multimedia
www.47ronin.com
Glenn
47 Ronin Multimedia
www.47ronin.com
     
Forum Regular
Join Date: Oct 1999
Location: London
Status: Offline
Reply With Quote
Oct 14, 2000, 08:56 AM
 
Is that the Java 1.1 or the Java2 instruction set?

I used the UNIX Java2 instructions. The GUI installer went through its paces, but typing "jedit" in the terminal does nothing.

Am I missing something ... ?

Thanks for the help :-)
     
Forum Regular
Join Date: Oct 1999
Location: London
Status: Offline
Reply With Quote
Oct 14, 2000, 09:04 AM
 
My UNIX is improving all the time!

java -jar jedit.jar

executes the jar file using the JVM ...

hehe this has been a strange few weeks using OSX -- but I love it!
     
Senior User
Join Date: Oct 2000
Location: Dallas, TX
Status: Offline
Reply With Quote
Oct 14, 2000, 09:06 PM
 
I don't know the new features of the beta, but I've found it more stable than the latest stable version. Go figure.

Here's a way to get a double-clickable file to launch it: Type:
java -jar jedit.jar
into a text file, and save it with the extension '.command' and the file will automatically launch terminal and execute. One weirdism is you have to include the full path in the command:
java -jar /Applications/jEdit/jedit.jar
make sure to use the correct path.
     
Junior Member
Join Date: Oct 1999
Location: Greenville, NC USA
Status: Offline
Reply With Quote
Oct 17, 2000, 04:02 AM
 
The double click command.. Didn't work for me. I have the right path, and the command works fine in the term window.
java -jar /Users/guru/jEdit_2.6pre9/jedit.jar
So I put it into text edit, saved it as .command, and all it does is bring up the term window. same thing happened when I made the file in pico.

Thanks,
tim
     
Fresh-Faced Recruit
Join Date: Oct 2000
Status: Offline
Reply With Quote
Oct 17, 2000, 08:38 AM
 
after uncompressing the archive, you can use MRJAppBuilder to put an executable "wrapper" around the jar file. it's just like JBindery - no command line or script needed!

assuming, of course, that you've downloaded the dev tools....
"we is confronted by an insurmountable tidal wave of opportunity." -pogo
     
Senior User
Join Date: Oct 2000
Location: Dallas, TX
Status: Offline
Reply With Quote
Oct 17, 2000, 11:20 AM
 
Ecuguru:

I had that problem, initially, too, and it was due to file permissions failing. Make sure you have read/write/execute permissions for the jEdit.jar file, and it should work. I'm not entirely familiar how to do this in the command line, but if you log in as 'root,' you should be able to set the permissions in the inspector window.

The wrapper idea mentioned above sounds like a better option, though.
     
Fresh-Faced Recruit
Join Date: Oct 2000
Status: Offline
Reply With Quote
Oct 17, 2000, 11:55 AM
 
a little more clarification:

you do need to run "java -jar ../jedit-2.6pre9.jar" ONCE - this initial download is really an installer with the application ambedded within. once in the installer, i repointed my install to /Applications/JEdit. you can install it wherever you like, of course.

in /Applications/JEdit there is now a .jar file called "jedit.jar" which is the actual application. fire up MRJAppBuilder, located in the /Developer/Applications directory if you've installed the dev tools.

in the "Main Classname" field, enter "org.gjt.sp.jedit.jEdit".

in the "Classpath" field, i entered "/Applications/JEdit/jedit.jar".

in the "Output File" field, i entered "/Applications/JEdit/jedit2.6pre9.app".

click "Build Application". don't blink - it happens fast. you should now have a true double-clickable app ready to run.

soapbox: i love this os x way of doing things. you can do it the mac way, or the unix way, or both. how cool is that!
"we is confronted by an insurmountable tidal wave of opportunity." -pogo
     
Forum Regular
Join Date: Sep 2000
Status: Offline
Reply With Quote
Oct 17, 2000, 08:06 PM
 
Funny you should mention that...just the other day I made an app wrapper for jEdit, complete with makeshift icon. If anyone wants it, it's posted at http://homepage.mac.com/vaca . I've included instructions for using it...basically just drag your jEdit files into the Contents/Resources/Java folder inside the bundle, and you're all set. You can move it wherever you like.
     
Grizzled Veteran
Join Date: May 2000
Location: Any Town, USA
Status: Offline
Reply With Quote
Oct 18, 2000, 06:36 AM
 
Originally posted by Marshall:
Funny you should mention that...just the other day I made an app wrapper for jEdit, complete with makeshift icon. If anyone wants it, it's posted at http://homepage.mac.com/vaca . I've included instructions for using it...basically just drag your jEdit files into the Contents/Resources/Java folder inside the bundle, and you're all set. You can move it wherever you like.
Post this at Stepwise and Versiontracker so everone can use it.

Change your world and you will change your mind.
     
jswhit
Guest
Status:
Reply With Quote
Oct 18, 2000, 01:54 PM
 
I've compiled nedit (http://nedit.org) for X11 - you'll need Xtools or Xvnc to run it since it's an X11 app. Xvnc and the nedit binary are available at http://www.cdc.noaa.gov/~jsw/macosx_xvnc/.

-Jeff
     
Forum Regular
Join Date: Sep 2000
Location: Ronneby, Sweden
Status: Offline
Reply With Quote
Oct 18, 2000, 05:36 PM
 
Originally posted by Marshall:
Funny you should mention that...just the other day I made an app wrapper for jEdit, complete with makeshift icon. If anyone wants it, it's posted at http://homepage.mac.com/vaca . I've included instructions for using it...basically just drag your jEdit files into the Contents/Resources/Java folder inside the bundle, and you're all set. You can move it wherever you like.
Hmm, I don't get it to work. Basically when I double click the app nothing happens. I even tried to install jEdit directly in the folder mentioned inside the bundle but it still doesn't work. Exactly which files and folders should go in the java directory? Should they have the same folder-structure as when installed?


/Gabbe
     
Forum Regular
Join Date: Sep 2000
Status: Offline
Reply With Quote
Oct 19, 2000, 08:39 AM
 
Yes, everything that was installed should be placed inside the Java folder as-is, with jedit.jar directly inside the Java folder. For example, my folder looks like:

jEdit.app/
-- Contents/
---- Resources/
------- Java/
--------- jedit.jar
--------- doc/
--------- jars/
--------- modes/

Hope this helps.
     
Mac Enthusiast
Join Date: Jan 1999
Location: Marietta, GA, USA
Status: Offline
Reply With Quote
Oct 19, 2000, 02:42 PM
 
I'm having the same problem. Double-clicking the jEdit package does nothing. I can launch jedit from the command line fine

"java -jar jedit,jar"

Any thoughts?

-Scott
Scott Genevish
scott AT genevish DOT org
     
Mac Enthusiast
Join Date: Jan 1999
Location: Marietta, GA, USA
Status: Offline
Reply With Quote
Oct 19, 2000, 02:46 PM
 
I'm having the same problem. Double-clicking the jEdit package does nothing. I can launch jedit from the command line fine

"java -jar jedit,jar"

Any thoughts?

-Scott
Scott Genevish
scott AT genevish DOT org
     
Junior Member
Join Date: Oct 2000
Location: New York, NY USA
Status: Offline
Reply With Quote
Oct 19, 2000, 04:41 PM
 
Barebones informed me that a native OSX version of bbedit is on the way...

------------------
Henry Feldman
NYU School of
Medicine
Henry Feldman, MD
NYU School of Medicine
     
Forum Regular
Join Date: Sep 2000
Status: Offline
Reply With Quote
Oct 19, 2000, 04:46 PM
 
OK, I think I've figured out what the problem was. Somehow the compressed file I posted didn't have the jEdit executable bit set right. I'll try to post a corrected version either late tonight or tomorrow, but in the meantime, here's how to fix it:

Open a Terminal window.
"cd" to the folder that contains the jEdit wrapper. (e.g. "cd /Applications").
Type "cd jEdit.app/Contents/MacOS" and press Return.
Type "chmod a+x jEdit" and press Return.
Quit out of Terminal.

It should now work. I apologize for the confusion.
     
Grizzled Veteran
Join Date: May 2000
Location: Any Town, USA
Status: Offline
Reply With Quote
Oct 19, 2000, 07:50 PM
 
Originally posted by henryhbk:
Barebones informed me that a native OSX version of bbedit is on the way...
They have stated that they will have a version for OS X out, when OS X final shipps . . . in the meantime, I wish it was easier to obtain, and use NEdit, jEdit, etc.

Change your world and you will change your mind.
     
Junior Member
Join Date: Oct 2000
Location: New York, NY USA
Status: Offline
Reply With Quote
Oct 20, 2000, 12:27 PM
 
maybe with enough pressure, they might release a public beta too...

------------------
Henry Feldman
NYU School of
Medicine
Henry Feldman, MD
NYU School of Medicine
     
Forum Regular
Join Date: Sep 2000
Location: Ronneby, Sweden
Status: Offline
Reply With Quote
Oct 22, 2000, 05:59 PM
 
Originally posted by Marshall:
Open a Terminal window.
"cd" to the folder that contains the jEdit wrapper. (e.g. "cd /Applications").
Type "cd jEdit.app/Contents/MacOS" and press Return.
Type "chmod a+x jEdit" and press Return.
Quit out of Terminal.

It should now work. I apologize for the confusion.

Works great! Thank you. Now if only Apple could release an update so that Java apps with Aqua look draw menus correctly

/Gabbe
     
Senior User
Join Date: Oct 2000
Location: Dallas, TX
Status: Offline
Reply With Quote
Oct 22, 2000, 07:43 PM
 
I noticed the odd menus, too. However, it is no small feat that Aqua already works in Java as well as it does.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:45 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2