Java could not be launched.

Nickvisschedijk
Nickvisschedijk New Altair Community Member
edited November 5 in Community Q&A
By start up RapidMinder studio 9.8 I get this message. 
Tagged:

Best Answer

Answers

  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    Can you please start the RapidMiner-Studio.bat next to the .exe instead? The exe unfortunately is very bad at giving useful errors :(

    Regards,
    Marco
  • jwpfau
    jwpfau New Altair Community Member
    edited November 2020
    Hi Nick,

    What does "hostname" return for you in the command line?
    (Press ⊞ Start, type cmd, press ⏎ Return)

    Either change the hostname to be RFC 952 compliant, or use this workaround:

    Save the following lines in a plain text file with the ending .bat and execute it
    set rmHome=%HOME%\.RapidMiner
    IF not exist %rmHome% (mkdir %rmHome%)
    echo rapidminer.proxy.mode=Direct (no proxy)>> %rmHome%\rapidminer-studio-settings.cfg
    or manually add the line 
    rapidminer.proxy.mode=Direct (no proxy)
    to the end of your %HOME%\.RapidMiner\rapidminer-studio-settings.cfg file.

    This will disable proxy usage, if you need to use a proxy you can change this setting afterwards in Settings → Preferences → Proxy

    Greetings,
    Jonas
  • Nickvisschedijk
    Nickvisschedijk New Altair Community Member
    Answer ✓
    I can't find the rapidminder-studio-settings.cfg file
  • Nickvisschedijk
    Nickvisschedijk New Altair Community Member
    It's works, the .cfg file is created with the script :smile:
  • DiyarJ
    DiyarJ New Altair Community Member
    Hi jwpfau,
    could u please re-explain that in a more simpler way? cuz I'm having the same issue now.
  • AbbasZavar22
    AbbasZavar22 New Altair Community Member
    I have the same problem, but this is very complex for me.
    Is there any easier dummy description for that?
    Step by step
  • FriendOfFoj
    FriendOfFoj New Altair Community Member
    can you please help with the .bat file step? i don't know what you mean? is it file in my laptop or only when the error pop up?
  • jwpfau
    jwpfau New Altair Community Member
    edited February 12
    Hi @FriendOfFoj,

    Assuming you use Windows:

    if you right click on the "RapidMiner Studio" shortcut on your Desktop you should have an option like "Open path".
    Alternatively you could navigate to "C:\Program Files\RapidMiner\RapidMiner Studio" in your file browser.

    This should bring up the installation directory, where a RapidMiner-Studio.bat file is next to the RapidMiner Studio.exe



    Greetings,
    Jonas