Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Qsys - problem witch handling path

Hello.

I have installed Quartus 11.1 on windows 7 in path "C:\Program Files\Altera". After that it showed that qsys can't start. After starting it in console i get exception from Java. Here listing:

C:\Program Files\Altera\quartus\sopc_builder\bin>qsys-edit.exe

Exception in thread "main" java.lang.NoClassDefFoundError: files/altera/quartus/

sopc_builder/model/lib/qsys_startup_screen/png

Caused by: java.lang.ClassNotFoundException: files.altera.quartus.sopc_builder.m

odel.lib.qsys_startup_screen.png

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

Could not find the main class: files/altera/quartus/sopc_builder/model/lib/qsys_

startup_screen.png. Program will exit.

As you can see there is problem witch path. Program can't handle space in it. This is basic problem in windows programming. Probably need to change from '' to "" .Could somebody fix it in nearest future. Please.

I'm trying now to workaround it on my own, but if sombody have some idea I'll be greatfull

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Spaces in paths causes problems in multiple places in the whole Altera suite, and I don't think it will be solved any time soon. It's really better not to use any spaces.

    You can always file a SR to Altera, asking that at least the installer refuses to install Quartus in a path with spaces.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for info. First installation was web install (11.1 without SP). Now I reinstalled QII 11.1 witch SP2 and during installation it showed dialog window witch info that path with spaces can cause problem. They started to see a problem.