Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1018175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:49:11+00:00 2026-05-16T10:49:11+00:00

I recently installed jEdit on my Mac OS 10.6 system. I would like to

  • 0

I recently installed jEdit on my Mac OS 10.6 system. I would like to be able to run jEdit in the terminal as I would emacs, i.e. ’emacs FILE.NAME’. My plan was to write a script jedit.sh containing…

touch $1
open -a /Applications/jEdit.app $1

…where the argument is the filename. Strangely, jEdit is opened but only with the default new file, not the desired file. If I substitute the ‘jEdit.app’ with any other app, say ‘TextEdit.app’, it opens the desired file.

Is there something I’m missing? Why doesn’t jEdit behave like other apps when used with the ‘open’ command and how can I work around this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T10:49:11+00:00Added an answer on May 16, 2026 at 10:49 am

    First of all, ‘open’ is not a standard UNIX command (I assume it’s something Mac OS X-specific?).

    Furthermore, jEdit is written in Java, so I assume jEdit.app is just a wrapper that starts a Java VM to execute jedit.jar (it runs /path/to/java -jar /path/to/jedit.jar or something like that, probably with extra options for memory usage etc.).

    On my Ubuntu system, the jedit wrapper script passes on whatever file I mention on the commandline, and jEdit effectively uses it, so the problem isn’t with the jEdit application itself.

    Conclusion: it looks like the jEdit.app doesn’t take the parameters you give it to pass them on to the java commandline…

    As a solution, try to start it as java -jar /path/to/jedit.jar "$@" from your script (AFAIK there is no need for the touch line either).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently installed Windows 2008 Server to replace a crashed hard drive on a
I recently installed MySQL 5 on Windows 2003 and tried configuring an instance. Everything
I recently installed the Eclipse Metrics Plugin and have exported the data for one
We recently installed Team Foundation Server 2008 and we are using it for both
I recently installed VS 6.0 after installing VS 2008 and overwrite JIT settings ..
I have recently installed .net 3.5 SP1. When I deployed a compiled web site
I've recently installed VS2008. The project I'm working on uses vstest and I have
I just recently installed the MVC beta. However, I assumed because the versioning numbers
I just recently installed Winamp Song Requester wich is a Winamp web song requester
Here's an interesting problem. On a recently installed Server 2008 64bit I opened IE

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.