Freemind won't run after install, can't find Java

Hi,
I attempted to install freemind using the following command:
pacman -S freemind
It installed along with the relevant Java dependency.
When I try to run freemind I get the following error:
which: no java in (/bin:/usr/bin:/sbin:/usr/sbin:/opt/kde/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin)
ERROR: Couldn't find a java virtual machine,
define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH.
When I attempt to run 'freemind.jar' via java itself using the following command:
/opt/java/jre/bin/java freemind.jar
I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: freemind/jar
Caused by: java.lang.ClassNotFoundException: freemind.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: freemind.jar. Program will exit.
Any help would be much appreciated

I can run Freemind - no problem. I have (previously) installed Java using jdk package
There are two possible problems:
1) Program's execute file is /usr/share/freemind/freemind.sh - it's shell script, so you will have to run it from terminal using command
bash /usr/share/freemind/freemind.sh (it's how I ran it)
Remember - you can't (usually) run Java programs from *.jar files, because Java has to have declared some variables first (that's what that shell script  is for - Windows are using their typical exe files for running Java programs )
2) You don't have correct Java. There are two types of Java: opensource (openjdk) and "original" Java from Sun. openjdk is (fully) opensource, but lacks some of Sun's Java features, but because it's opensource, it's generally favourized (hope that it's the correct word) in Linux and Java-dependent packages in Arch usually installs that.
Try uninstall both Freemind and whatever Java you are using now and install first java from Sun (packages jre and jdk, jdk is mostly for Java developers and should not be needed to run programs) and then install Freemind.
Edit: It's possible that you will need to restart computer after installing Java (but probably not)
Last edited by cybermage (2008-11-21 21:04:47)

Similar Messages

  • HTML DB won't run after Install

    I've installed htmldb twice using the htmldb_1.6.0.zip file. In both instances it won't run, with identical behavior. Here's my configuration:
    dads.conf:
    Alias /i/ "C:\oracle\product\10.1.0\MT\Apache\Apache\images/"
    <Location /pls/htmldb>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
    PlsqlDatabasePassword ######
    PlsqlDatabaseConnectString localhost:1521:dev
    PlsqlDefaultPage htmldb
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDocumentPath docs
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlAuthenticationMode Basic
    PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
    </Location>
    marvel.conf:
              <Location /pls/htmldb>
              SetHandler pls_handler
              Order deny,allow
              Allow from all
              AllowOverride None
              PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
              PlsqlDatabasePassword ######
              PlsqlDatabaseConnectString 127.0.0.1:1521:dev
              PlsqlDefaultPage htmldb
              PlsqlDocumentTablename wwv_flow_file_objects$
              PlsqlDocumentPath docs
              PlsqlDocumentProcedure wwv_flow_file_manager.process_download
              PlsqlAuthenticationMode Basic
              PlsqlNLSLanguage AMERICAN_AMERICA.WE8ISO8859P1
              </Location>
    Error Log:
    [Wed Apr 06 16:03:43 2005] [notice] FastCGI: process manager initialized
    [Wed Apr 06 16:03:50 2005] [error] [client 127.0.0.1] [ecid: 1112825030:192.168.1.6:4040:3216:1,0] mod_plsql: DAD '/pls/htmldb' is disabled because of misconfiguration. Please refer to the log entries during server startup up for more information.
    [Wed Apr 06 16:03:50 2005] [error] [client 127.0.0.1] [ecid: 1112825030:192.168.1.6:4040:552:1,0] File does not exist: c:/oracle/product/10.1.0/mt/apache/apache/htdocs/favicon.ico
    The file favicon.ico does not exist anywhere in the oracle directory tree. I can log into my database using sqlplus and the username/password listed in the dads.conf. I don't see anything else that I should check...any ideas?

    418849,
    favicon.ico is not the issue
    I see two issues:
    1) If both dads.conf and marvel.conf are included in the Apache configuration, then that will be an error as you cannot have two Database Access Descriptors defined with the same name.
    2) You're missing the 'ServiceNameFormat' string after your value for PlsqlDatabaseConnectString.
    Joel

  • Lightroom 5.5 and Photoshop CC 14 won't run after installing

    I tried installing the Lightroom and PS upgrades through the Creative Cloud installers - they install but won't run.  Lightroom won't start at all now and PS starts, gets to the main window and immediately shuts down.   I've restored, reinstalled, uninstalled all old versions, run CC cleaner multiple times sucessfully - nothing has worked.
    Help is appreciated.
    Thanks

    http://helpx.adobe.com/photoshop/kb/cc-applications-crash-immediately-launch.html

  • ITunes + Quicktime won't run after install

    I did an automatic upgrade to ITunes verson 8 from 7. After the upgrade, neither iTunes nor Quicktime would work. I then proceeded to do a complete uninstall of both items, to include deleting all directories and cleaning the registery so I could complete a fresh install of both items. After the fresh install, iTunes would work IF (and only if) it was started by the installation script. If I try to start iTunes after the installation, windows pops a window that says "Please wait while Windows configues iTunes," after which it prompts to restart the PC. This happens EVERY time. That is, iTunes will run ONE TIME correctly when it's started by the installation process at the conclusion of a fresh install, but it will not run again. Each time I get the windows message.
    Quicktime will not run at all. It gives the error message "Error 41: Could not load or find the QuickTime ActiveX control." However, I can open the Quicktime preferences from the Control Panel.
    I get no errors or any indications that the installation process had problems or that the items did not install correctly.
    I'm running 32-bit Vista with SP1.
    Any ideas would be appreciated.

    Bump to top.

  • Word 2010 Macros won't run after installing Outlook 2013

    Here is something I've never run across before.  I'm hoping someone here knows the answer...
    One of my co-workers has Office 2010 Professional installed and has for a year or more been running Word 2010 using a macro that opens a form for additional user input for the document.
    For some reason that I cannot understand at all, he loaded Outlook 2013 and Lync.  After doing this, his Word document will open but he cannot get the macro to execute the command button in the document.  The macro does not fire, so to speak. 
    We have checked the Trust Center and the macro settings are at the lowest level.  Still not working!
    I have tried to simulate this by installing Word 2010 on my workstation where I have a full copy of Office 2013 Professional installed.  Interestingly enough, similar results occur.  I get a security warning that even though my Word 2010 instance
    has macro security set to low, strips out the macro altogether. 
    I'm not all that interested in finding my problem but would like to get some advice on why he is having the problems after just adding Outlook 2013 and Lync.  They may be related .
    Thanks for any assistance.
    Robert Stroud

    Repair did not seem to have any affect on the problem.
    So a bit of clarification - client has 2010 Office Professional including all of the normal packages.  His company updated their machines to Outlook 2013 but did not touch any of the other 2010 packages except Outlook.  They also added Lync. 
    I can duplicate the problem using a 2013 installation of Office Professional and then adding Word 2010 via another installation of Office 2010.  Word 2010 was the only package from 2010 that I installed.
    I have repaired the 2010 installation from the Control Panel.  The Repair Utility does not seem to do anything except force the default .docm to show the Word 2010 icon rather than the 2013 icon.
    If I open my .docm file with Word 2010, I get macro warnings even though the Macro Security is set to enable all macros.
    If I open my .docm in Word 2013, the file executes properly and the macro runs as it should.
    What is it that happens when one or more 2013 packages are installed that breaks the 2010 package macros?
    Robert Stroud

  • ITunes 10.5 won't run after install

    Have done a clean install of 10.5 twice now ie uninstalled all apple software and reinstalled iTunes. After restart iTunes starts to load and freezes locked out all Internet  access as well.
    Any ideas?

    I have solved the problem with iTunes 10.5 will not install on Windows 7 64 bit.  I used Windows Installer Cleanup Utility available from softpedia.com to uninstall the offending program.  It is the Apple Software Updater that would not uninstall from the Control Panel.  I uninstalled all Apple iTunes 10.4, Quicktime and BonJour etc.  and the Apple Software Updater would not uninstall, so the Windows Installer Cleanup 2.5 Utility did the job.  Poor design of an Apple uninstaller.

  • Os x won't run after installing new HD

    The power supply in my old iMac G3 failed, so I took out the hard drive which had os x 10.3 on it. Put it into another G3 imac that had been running os 9.2.2. [I did not reinstall os x because don't want to lose what is on the HD.] When I switch the computer on, the Apple comes up on the screen like it is about to start up, then the computer shuts down. HD is an 80 GB Seagate. Jumpers are set to Master and Slave. Please advise.

    Grape G3, welcome to Apple Discussions.
    First you need to check if your 9.2 iMac requires a firmware (Boot ROM version in System Profiler) update. Mac OS X: Available firmware updates
    http://docs.info.apple.com/article.html?artnum=86117 If an update is required, the update must be installed (using OS 9) BEFORE you install/run OS X.
    Jumpers are set to Master and Slave.
    Since the iMac only has one hard drive, the jumper needs to be set to Master. Slave is used when you install a second hard drive.
    Are both iMacs the same model? Usually the system files for one Mac are unique to that model & may not work in another model.
     Cheers, Tom

  • Flash CS3 Won't Run After Installing?

    Double clicking the Flash CS3 icon on the desktop does nothing. I tried all of the compatibility options, I tried running as admin, nothing allows the program to start. There's no Serial number box that comes up, nothing happens when I double click the icon on the desktop.
    Operating System: Windows 7 Home Premium x64

    The closest I have seen to this problem is that if you don't
    save the .as file, then the updated code will not test, but that is
    logical, as the .fla needs to reference the saved .as to export
    properly.

  • Flash player won't run after install

    Adobe flash player appears to download and install, but is still not recognized, when i try to watch a video on youtube, or facebook etc.

    What is your operating system & version & edition?
    What is your web browser & version & edition?
    [Topic moved to Flash Player forum]

  • We have three users on my desktop and since I upgraded to 8.0.1, Firefox has been deleted off of their accounts. I've tried installing it separately, but it still won't run. How can I fix this problem?

    We have three users on my home desktop and since I upgraded to 8.0.1, Firefox has been deleted off of their accounts. I've tried installing it separately, but it still won't run. How can I fix this problem?

    See:
    *http://kb.mozillazine.org/Browser_will_not_start_up

  • Fire fox won't open after installing update. But it shows in my task manager as running

    Firefox won't open after installing update 3.6.6 Solution page says problem has been solved, but the solution has been removed.
    == This happened ==
    Every time Firefox opened
    == After installing update 3.6.6 ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    Hello Chris.
    Hopefully this support article is what you need:
    https://support.mozilla.com/en-US/kb/Firefox+will+not+start

  • Macbook pro won't boot after installing update 10.9.3

    macbook pro won't boot after installing update 10.9.3

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Unable to get SQL Server Agent to run after installing SQL 2012 Standard with SP1

    I am unable to get SQL Server Agent to run after installing SQL 2012 Standard with SP1. Log message is as follows:
    Attempting to load library 'xplog70.dll' into memory. This is an informational message only. No user action is required.
    Failed to verify Authenticode signature on DLL 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Binn\xplog70.dll'.
    Error: 17750, Severity: 16, State: 0.
    Could not load the DLL xplog70.dll, or one of the DLLs it references. Reason: (null).

    Hi JFriedley,
    According to your error message, there might three reasons for this issue.
    xplog70.dll is corrupt, you need to check if you have any SQL Server running on same file version and same production
     edition. If xplog70.dll is corrupt, you can copy it from the new server where agent is running fine to your problematic server.
    Native client not installed properly. If you try applying any latest Service Pack or Cumulative Update then check if the SQL Server Agent can start, if that also doesn’t solve issue then try to reinstalling SQL Server Native client from SQL Server setup
    files.
    There is a similar issue about error 17750, you can review the following article.
    http://blogs.lostincreativity.com/sqldba/sqlserver-error-17750-could-not-load-the-dll-xpstar90-dll/
    Regards,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • External keypad won't work after installing OS 7.

    External keypad won't work after installing OS 7. I have a "Zagg" keyboard that won't pair now to OS 7,...Why?

    They do work. I have one and mine is working. Have you tried to reset your iPad? HOlding down teh sleep and home keys until it reboots then try pairing again.
    A slightly more drastic thing is to go into the settings and reset all settings. THe downside, you will need to retweak your device but it can help fix keyboard glitches.

  • AE CS6 won't run after the Mavericks 10.9.3 update

    My AE CS6 won't run after the Mavericks 10.9.3 update the other day. I was prompted that the current version of my AE was 11.0, so I searched and found the seemingly most up-to-date here: Adobe - After Effects : For Macintosh : Adobe After Effects CS6 11.0.4 Update : Thank You
    My question is this: since I'm new to Mac, should I download the update and install it to my existing instance of AE and it will allow AE CS6 to run as normal? And the way to install the update is simply to double-click the .dmg?
    Thanks!

    Instructions for installing the update are on the download page here:
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5696

Maybe you are looking for

  • GR/IR Account with Wrong Commitment Item

    Dear Experts, When we doing GR(MIGO), system is not deriving the commitment item from FMDerive, istead taking the commitment item from offsetting GL entry. Is it common behavior? If not, how to force GR act derived into right commitment item which it

  • How do i convert my music and pics over from windows to mac using a external hard drive.

    New mac user.  How do i convert my files from windows to mac using external hard drive.  I am using a Seagate freeagent go flex.

  • G580 and Smart Fan Control?

    Hello all, I just purchased a Lenovo G580 laptop. There is a sticker near the keyboard about 'Smart Fan, Noise Control'. But so far I have not been able to find out how to use that feature. AFAIK, some earlier Lenovo models did have a separate touch

  • How to repear a corrupt file with Numbers

    How to open a "corrupt" file with Numbers. With excel it is possible to open such a file with the following error message : "The file you are trying to open, 'filename.xls', is in a different format than specified by the file extension. Verify that t

  • Change Web Service User Language

    Hi , I need to change my service providers(web service) user (EHP5). After creating endpoint with no authentication using soamanager (which only have username and password option ), system don't let me change default login language in SICF . Before E