LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2003, 05:28 PM   #1
DavidMD
Member
 
Registered: Apr 2003
Location: Hermitage, TN; United States
Distribution: Debian, CentOS, and openSuSE
Posts: 41

Rep: Reputation: 15
Question Problem Installing 'J' Programmer's Editor (Linux)


Hello, everyone.

I am trying to install and use 'J', a programmer's editor that is written in Java:

> http://www.armedbear.org/
>
> J - Programmer's Editor Written in Java
>
> J is a multifile, multiwindow programmer's editor
> written entirely in Java. It has syntax highlighting
> for Java, C, C++, XML, HTML, JavaScript, Lisp, and
> Perl, automatic indentation, directory buffers,
> regular expressions, multifile find and replace,
> autosave and crash recovery, undo, and FTP and
> HTTP support. Users can customize all keyboard
> mappings and themes.

I followed the installation instructions exactly and 'J' appeared on my screen.

When I closed 'J', however, I could find no way to relaunch it. Unlike, for example, 'jEdit', there does not appear to be a 'bash' shell script to launch 'J'.

I am running SuSE Linux 8.2 Professional. I know that I must be missing some detail or making a stupid mistake, but I have spent approximately a day trying to resolve this problem, and I cannot.

Any suggestions would be appreciated.

Thank you very much, in advance!

Cordially,

David
--
http://ddickerson.igc.org/

P.S. -- I have Java 1.4.1 installed and 'J' can "see" it, just as 'jEdit' can. My problem is in determining how to launch 'J' again after I have closed this programmer's editor. Thanks!
 
Old 05-25-2003, 06:01 PM   #2
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
http://www.deadmule.com/macewan/scre.../tmp/jbear.jpg

cool software - thanks for the link. =)

what desktop environment are you using? kde - gnome - or just a window manager like blackbox or fluxbox?

not sure if i understand if you have launched it at all yet.
 
Old 05-26-2003, 10:59 AM   #3
DavidMD
Member
 
Registered: Apr 2003
Location: Hermitage, TN; United States
Distribution: Debian, CentOS, and openSuSE
Posts: 41

Original Poster
Rep: Reputation: 15
Problem Installing 'J' Programmer's Editor (Linux)

Hi, macewan.

You are welcome for the link. I think that 'J' will be a very nice programming editor; it looks nice now, and it's not even reached version 1.0.

To answer your question, macewan, I am using KDE 3.1.1 (with SuSE Linux 8.2 Professional).

Thanks!

Cordially,

David
--
http://ddickerson.igc.org/

P.S. -- macewan, I am able to see the screen (as you share in your screen capture link), so I assume that I have, indeed, launched 'J'; the problem is with launching it again.

Quote:
Originally posted by macewan
http://www.deadmule.com/macewan/scre.../tmp/jbear.jpg

cool software - thanks for the link. =)

what desktop environment are you using? kde - gnome - or just a window manager like blackbox or fluxbox?

not sure if i understand if you have launched it at all yet.

Last edited by DavidMD; 05-26-2003 at 11:02 AM.
 
Old 05-26-2003, 12:23 PM   #4
DavidMD
Member
 
Registered: Apr 2003
Location: Hermitage, TN; United States
Distribution: Debian, CentOS, and openSuSE
Posts: 41

Original Poster
Rep: Reputation: 15
Question

Hello, again, macewan.

Here are the commands I used, minus the extraction of the archive, for installing 'J', which has a buffer open and is running. When I close the terminal window containing the text below, 'J' will "go away" and I have found no way to restart it:

Code:
ddickerson@linux:~> cd /
ddickerson@linux:/> cd /home/ddickerson/Staging/j-0.18.1
ddickerson@linux:~/Staging/j-0.18.1> java -jar j.jar
Incidentally, I am using the compressed binary of 'J' 0.18.1, I could try installing from source, but I do not see how doing so would be of benefit. (Of course, I am a Linux "newbie"!)

I tried following a suggest to type a 'J' in 'xterm' and hit the TAB key twice, but the result was two beeps, one for each time I pressed the TAB key. (I searched the directory and there is no 'bash' script to launch 'J', by the way.)

Thank you, in advance!

Cordially,

David
--
http://ddickerson.igc.org/

P.S. -- By the way macewan, usually when I install software I do so from my 'Staging' directory and the software is installed in its default location or in the directory that I specify. In this case, 'J' is installed in the working directory -- which I find to be very odd and confusing. (Plus, I do not want 'J' there.)
 
Old 05-26-2003, 02:04 PM   #5
DavidMD
Member
 
Registered: Apr 2003
Location: Hermitage, TN; United States
Distribution: Debian, CentOS, and openSuSE
Posts: 41

Original Poster
Rep: Reputation: 15
Thumbs up Problem Installing 'J' Programmer's Editor

Hello, everyone.

I have resolved my problem by creating a shell script to launch 'J' in '/home/ddickerson/bin/':

Code:
#!/bin/sh
# Java heap size, in megabytes
JAVA_HEAP_SIZE=32
exec /usr/lib/SunJava2-1.4.1/jre/bin/java -mx${JAVA_HEAP_SIZE}m ${J} -jar "/home/ddickerson/Executables/j-0.18.1/j.jar" $@
According to the documentation for 'J', there is supposed to be an 'init.bsh' shell script, but I did not have this script after installing 'J'.

I do not know if my solution is a "kludge" or a decent approach, but it does work, at least.

I am a bit concerned, however, about the Java heap size. I do not know if 32k is sufficient for 'J'. If anyone has any suggestions or comments, I would be grateful.

Thank you very much, in advance!

Cordially,

David
--
http://ddickerson.igc.org/

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vi editor problem sajith Programming 6 08-18-2014 07:46 AM
Problem in vi editor init_linux Linux - General 10 09-09-2005 01:40 AM
What's the programmer's favorite distro? Hosiah Programming 17 06-29-2005 06:19 AM
installing composite, rich-text editor for mozilla, getting an .xpi malfunction opioid Linux - Software 3 06-17-2004 02:33 AM
new convert to slackware - problems installing bluefish editor though melquiades Slackware 11 07-06-2003 08:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration