Package including JRE available?

Dear KNIMErs,

After several unsuccessful attempts at making KNIME 2.x run on my machine, I have finally found the culprit: It’s the outdated JRE version, I’m running on 1.5 only. Now my dilemma is that I will probably not get an update, as these things are managed centrally by operators who tend to be change-averse… :slight_smile:

Now I do have the OK to run KNIME, but being stuck with 1.x is simply not satisfying in the long run - so I wondered whether there was a bundled ZIP package anywhere to be found? Not Eclipse + KNIME as in the DEV package, but rather JRE + KNIME, sort of a beefed-up Desktop package.

Any hints?

Many thanks in advance,
E.

The Desktop version of KNIME always comes with a JRE…

Strange, among many error messages loggen upon launch, the follwoing struck me as the cause:

!SUBENTRY 2 org.knime.core 2 0 2009-08-24 17:36:43.328 !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6

 
But maybe you can make anything of the full log? It’s the result of launching knime.exe after unyipping the 2.03 package:

!SESSION 2009-08-24 17:36:07.953 ----------------------------------------------- eclipse.buildId=unknown java.version=1.5.0_12 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Command-line arguments: -os win32 -ws win32 -arch x86 -clean

!ENTRY org.eclipse.osgi 4 0 2009-08-24 17:36:43.172
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application “org.knime.product.KNIME_APPLICATION” could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error, org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate, org.eclipse.update.core.siteOptimizer.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.EclipseAppContainer.start(EclipseAppContainer.java:98)
at org.eclipse.equinox.internal.app.Activator.addingService(Activator.java:112)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
at org.eclipse.equinox.internal.app.Activator.start(Activator.java:54)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator.startAppContainer(PlatformActivator.java:47)
at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:32)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)

!ENTRY org.eclipse.osgi 2 0 2009-08-24 17:36:43.297
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-08-24 17:36:43.297
!MESSAGE Bundle update@plugins/org.knime.ext.sun_2.0.3.0021120/ was not resolved.
!SUBENTRY 2 org.knime.ext.sun 2 0 2009-08-24 17:36:43.297
!MESSAGE Missing required bundle org.knime.workbench.repository_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-08-24 17:36:43.297
!MESSAGE Bundle update@plugins/org.eclipse.equinox.http.jetty_1.0.1.R33x_v20070816.jar was not resolved.
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2009-08-24 17:36:43.297
!MESSAGE Missing imported package org.mortbay.util_[5.1.0,6.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2009-08-24 17:36:43.297
!MESSAGE Missing imported package org.mortbay.jetty.servlet_[5.1.0,6.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2009-08-24 17:36:43.297
!MESSAGE Missing imported package org.mortbay.http_[5.1.0,6.0.0).

!ENTRY org.eclipse.osgi 2 0 2009-08-24 17:36:43.312
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-08-24 17:36:43.312
!MESSAGE Bundle update@plugins/org.eclipse.equinox.http.jetty_1.0.1.R33x_v20070816.jar [41] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2009-08-24 17:36:43.328
!MESSAGE Missing imported package org.mortbay.http_[5.1.0,6.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2009-08-24 17:36:43.328
!MESSAGE Missing imported package org.mortbay.jetty.servlet_[5.1.0,6.0.0).
!SUBENTRY 2 org.eclipse.equinox.http.jetty 2 0 2009-08-24 17:36:43.328
!MESSAGE Missing imported package org.mortbay.util_[5.1.0,6.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-08-24 17:36:43.328
!MESSAGE Bundle update@plugins/org.eclipse.help.base_3.3.1.v20070813_33x.jar [52] was not resolved.
!SUBENTRY 2 org.eclipse.help.base 2 0 2009-08-24 17:36:43.328
!MESSAGE Missing imported package org.eclipse.equinox.http.jetty_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-08-24 17:36:43.328
!MESSAGE Bundle update@plugins/org.eclipse.help.ui_3.3.2.v20071126_33x.jar [53] was not resolved.
!SUBENTRY 2 org.eclipse.help.ui 2 0 2009-08-24 17:36:43.328
!MESSAGE Missing required bundle org.eclipse.help.base_[3.3.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-08-24 17:36:43.328
!MESSAGE Bundle update@plugins/org.eclipse.help.webapp_3.3.2.v20071102_33x.jar [54] was not resolved.
!SUBENTRY 2 org.eclipse.help.webapp 2 0 2009-08-24 17:36:43.328
!MESSAGE Missing required bundle org.eclipse.help.base_[3.1.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-08-24 17:36:43.328
!MESSAGE Bundle update@plugins/org.knime.base_2.0.3.0021120/ [102] was not resolved.
!SUBENTRY 2 org.knime.base 2 0 2009-08-24 17:36:43.328
!MESSAGE Missing required bundle org.knime.core_0.0.0.
!SUBENTRY 2 org.knime.base 2 0 2009-08-24 17:36:43.328
!MESSAGE Missing required bundle org.eclipse.help.ui_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-08-24 17:36:43.328
!MESSAGE Bundle update@plugins/org.knime.core_2.0.3.0021120/ [103] was not resolved.
!SUBENTRY 2 org.knime.core 2 0 2009-08-24 17:36:43.328
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-08-24 17:36:43.328
!MESSAGE Bundle update@plugins/org.knime.deprecated_2.0.3.0021120/ [104] was not resolved.
!SUBENTRY 2 org.knime.deprecated 2 0 2009-08-24 17:36:43.328
!MESSAGE Missing host org.knime.base_2.0.0.
!SUBENTRY 2 org.knime.deprecated 2 0 2009-08-24 17:36:43.328
!MESSAGE Missing required bundle org.knime.core_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-08-24 17:36:43.328
!MESSAGE Bundle update@plugins/org.knime.ext.sun_2.0.3.0021120/ [105] was not resolved.
!SUBENTRY 2 org.knime.ext.sun 2 0 2009-08-24 17:36:43.328
!MESSAGE Missing required bundle org.knime.workbench.repository_0.0.0.
!SUBENTRY 2 org.knime.ext.sun 2 0 2009-08-24 17:36:43.328
!MESSAGE Missing required bundle org.knime.base_0.0.0.
!SUBENTRY 2 org.knime.ext.sun 2 0 2009-08-24 17:36:43.328
!MESSAGE Missing required bundle org.eclipse.help.ui_0.0.0.

 
Thanks for any help with this,
E.

It should be “logged” and “unzipping”, of course. Darn those Spanish keyboards… :wink:

E.

Dear Ergonomist,

in the KNIME desktop version is always a jre included (1.6.0_01).
Can you verify that a “jre” directory is included in your KNIME installation directory?
Best,

Fabian

Dear Fabian,

Now that’s odd - there is none. Unfortunately I am stuck with Windows’ “compressed folders” functionality instead of IZArc or WinZip, so that may explain it. While I can see the JRE folder when navigating through the ZIP file, it does not appear to extract them.

Specifically requesting the JRE folder to be extracted does appear to work, however. I only fear that the JRE folder may not be the only one affected. Let me check and report back.

Thanks so far,
E.

No, apparently it’s not the only folder affected. Grrr…

Anyway, I’ll find my way with some portable extractor by now - don’t tell anyone! g However, for the next release it might be advisable for you guys (and gals) to check/ensure “extractabiliy” with the -admittedly poor- Windows standard tools.

Thanks again, kind regards,
E.

One a side note: KNIME 1.x extracted fine with Windows compressed folders. The UpdateSite full extension package for 2.x doesn’t seem to have had any shortcomings, either.

Cheers,
E.

Hi E., We have had problems extracting the KNIME archive when the folder depth exceeds a certain limit, e.g. extracting KNIME into “C:\Dokumente und Einstellungen\Mein Benutzer\Desktop\HERE MY KNIME INSTALLATION GOES…” - can you please check if the problem still persists when you extract KNIME into your root folder. Thanks, Thomas

Hi Thomas,
 
Sorry, no can do - access denied. And my pen drive doesn’t work on this machine anymore either. :frowning: I did extract to the root of a local network drive, though. However, this may have caused the problems in the first place, as in this case, the drive letter H: stands for the network folder “\datastorageserver\username”.
 
I guess your suspicion is justified, though. How do the max. folder depth of KNIME 1.x and 2.x compare?
 
Cheers,
Ergonomist

FWIW, 7-Zip portable extracts everything just prefectly. So no imminent need to worry about my satisfaction anymore. :wink:

E.