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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:14:01+00:00 2026-06-12T23:14:01+00:00

I get the following error from emacs: Warning (initialization): An error occurred while loading

  • 0

I get the following error from emacs:

Warning (initialization): An error occurred while loading `/afs/nada.kth.se/hom\
e/d99/home/.emacs':

File error: Cannot open load file, jde

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

I didn’t use it for some time and the environment might’ve changed. What should I do? I don’t think I have a .emacs file anymore, should I create one and what should it contain?

Update

I do have a .emacs file (I was looking in the wrong dir) and it’s

;; - -  - -  - -  - -  - -
;;
;;  Emacs JDE
;;

(setq load-path
       (nconc '(
                "/pkg/jde/2.1.4"
                )
                load-path))
(require 'jde)
;;  - -  - -  - -  - -  - -

;;  - -  - -  - -  - -  - -
;;
;;   Make possible to compile from inside emacs
;;   using control-c -m
;;

(global-set-key "\C-cm" 'compile)

(setq load-path (cons "/src/lang/sictus/sicstus3.5" load-path))
(autoload 'run-prolog "prolog"
"Start a Prolog sub-process." t)
(autoload 'prolog-mode "prolog"
"Major mode for editing prolog programs" t)(autoload 'prolog-menu-hook-function "prolog-menu" t)
(add-hook 'prolog-mode-hook 'prolog-menu-hook-function)

How do I fix it?

  • 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-12T23:14:03+00:00Added an answer on June 12, 2026 at 11:14 pm

    From the error message, it seems fairly likely that you do indeed have a ~/.emacs file. Please double-check if this is the case or not. Whether it does or doesn’t exist, try

    $ emacs --no-init-file
    

    which tells emacs to ignore your .emacs file if any. If this causes an error, you might have something wrong in the emacs installation you’re using. If emacs starts without errors, now try the suggestion from the error message you quote above:

    $ emacs --debug-init
    

    This will enter the emacs debugger at the point of the error in the init file. Even if you’re not comfortable with the debugger, the backtrace might give you a clue as to what the problem is.

    Added after the post was extended with the actual .emacs file:

    In the particular ~/.emacs file you show in the question, the immediate cause of the failure is the line

    (require 'jde)
    

    You can tell this by the line saying Cannot open load file, jde. The most immediate way to eliminate this particular problem is by commenting out or removing the offending require line. As long as you don’t actually need whatever it is jde provides, this should fix you up. (You should probably also delete the previous expression that’s trying to add something to the load path to let emacs find the jde library.) If you need jde, you want to figure out where it actually lives, and modify load-path appropriately.

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

Sidebar

Related Questions

I get the following error from the SQL Script I am trying to run:
Why do I always get the following error from Postgres? syntax error at or
I get the following error coming from my Linq query: ExecuteReader requires an open
I get following error when trying to access Xampp from a network I've tried
I get the following error when inserting data from mysql into postgres. Do I
I get the following error when trying to push changes to github from the
When I reverse engineer from a Progress 9.1e database I get the following error
When running a Python program that reads from stdin, I get the following error:
When I try to run the following, I get an error back from ActiveRecord
I get an error when i do the following: SELECT * from cGift c1

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.