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 8161415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T18:29:41+00:00 2026-06-06T18:29:41+00:00

I installed js-comint mode on Emacs 24. Now when i try to execute run-js

  • 0

I installed js-comint mode on Emacs 24. Now when i try to execute run-js, it throws the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/mozilla/javascript/tools/shell/Main
Caused by: java.lang.ClassNotFoundException: org.mozilla.javascript.tools.shell.Main
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.mozilla.javascript.tools.shell.Main. Program will exit.

Process js exited abnormally with code 1

The variable inferior-js-program-command is "/usr/bin/java org.mozilla.javascript.tools.shell.Main", and for some reason it doesn’t work. What should i do to be able to run inferior javascript process in Emacs? If the above error means that i don’t have some Java library, what package should install in Debian?

I use Linux Mint Debian Edition (corresponds to Debian testing). I have openjdk-6-jre installed.

  • 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-06-06T18:29:43+00:00Added an answer on June 6, 2026 at 6:29 pm

    Ok, i’ve found a workaround. I installed rhino package on my Debian and put "/usr/bin/rhino" in variable inferior-js-program-command, now Emacs successfully runs inferior javascript process. However i’m still interested, why didn’t /usr/bin/java org.mozilla.javascript.tools.shell.Main didn’t work on my system.

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

Sidebar

Related Questions

I installed Android 4.0 and updated the Eclipse plugin. Now I cannot run any
I installed the following component by MacPorts: p5-image-info @1.16 (perl, graphics) Extract meta information
I installed all the necessary packages for running GUI programs in Cygwin. Right now,
I installed Msys Git and TortoiseGIT x64. Whenever I try to use the Get
I just installed the Json.Net package and now I am wondering how I can
I have installed redis by following links . https://github.com/mranney/node_redis and trying var redis =
Installed rubyinstaller-1.8.7-p358.exe, then tried to install jammit , but the config.gem command isn't being
Installed a fresh Delphi xe2. Open a new project (vcl forms application). opened the
i installed eclipse/galileo on mac x 10.5. i'm trying to install subversion plugin, but
I installed the latest version of Wordpress and added the WP-Syntax plugin (and also

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.