Can not get it work on Ubuntu 10.04 64 bit on JDK 1.6.0_25 with all Eclipse 3.6.2 budles

269 views
Skip to first unread message

lee youpeng

unread,
Apr 2, 2012, 1:40:56 AM4/2/12
to Scala IDE User
Hi All,
I tried a couple of days to install Scala IDE on my ubuntu
10.04 64 bit desktop, however, no matter which ecipse 3.6.2 bundles I
used all failed(Ecilpse for JEE,RCP,Classic,Java,Spring STS), And i
can not even install AJDT successfully,for those succeed ones, I can
not enabling JDT Weaving, I'm not sure if this is the eclipse issue,
OS issue or Scala IDE issue, any suggestions will be great help.

Best
Wishes

-- YP Li

lee youpeng

unread,
Apr 2, 2012, 1:39:32 AM4/2/12
to Scala IDE User

Mirco Dotta

unread,
Apr 2, 2012, 5:18:41 AM4/2/12
to scala-i...@googlegroups.com
What Java versions are you using?

If you are on JDK7, you should try using Eclipse Indigo 3.7.2+

Otherwise, do you see any error in the Eclipse Error Log View? 

Also, what Scala IDE version are you using?

-- Mirco

---------------
Mirco Dotta
Typesafe - The software stack for applications that scale
PSE-D, 1015 Lausanne, Switzerland
Twitter: @mircodotta








Li Yunpeng

unread,
Apr 2, 2012, 10:49:13 AM4/2/12
to scala-i...@googlegroups.com
Hi Mico,
           I'm using JDK 1.6.0_25 Linux 64 bit edition, Eclipse i tried 3.6.2 JEE,RCP,Java and Classic edition I even tried Spring STS 3.6.x, AJDT I tried update from official update site it should be either 2.1.3 or 2.1.2, Scala I tried 2.9 release, 
           It turns out that most of the time I will failed to install AJDT, for those succeed ones, I can not enable JDT Weaving, and I also followed the get started video on Scala IDE download page. I used a clean Eclipse Classic and install Scala IDE from the listed update site , after the installation and restart, there is no Scala WIzards in it. 
           I'm thinking if it is due to I'm useing Ubuntu 10.04 64 bit, or Ecipse Linux 64 bit, even if AJDT is comparable with 64 bit linux platform, rather than Scala IDE. By the way is there a Scala IDE bundle which likes those list on eclipse site I can download and use directly? :P
           For logs, since the failures are happened during installation I can not find any.
           Any ideas will be help.


-- YP


2012/4/2 Mirco Dotta <mirco...@typesafe.com>

lee youpeng

unread,
Apr 2, 2012, 11:25:15 AM4/2/12
to Scala IDE User
Hi Micro,
Following are the logs I found on one of the RCP workspace:


!SESSION 2012-04-02 23:09:14.097
-----------------------------------------------
eclipse.buildId=M20110210-1200
java.fullversion=GNU libgcj 4.4.3
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product
org.eclipse.epp.package.rcp.product

!ENTRY org.scala-ide.sdt.core 4 0 2012-04-02 23:09:19.815
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle "org.scala-
ide.sdt.core_2.0.0.v-2_09-201112200102-82421c5 [725]" could not be
resolved. Reason: Missing Constraint: Require-Bundle: org.scala-
refactoring.library; bundle-version="0.0.0"
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:
1317)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:
1301)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:
319)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:
374)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:
1067)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:
561)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:
546)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:
459)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:
243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:
440)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:
227)
at org.eclipse.osgi.framework.eventmgr.EventManager
$EventThread.run(EventManager.java:337)

!ENTRY org.scala-refactoring.library 4 0 2012-04-02 23:09:19.823
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle "org.scala-
refactoring.library_0.3.0.201112181742-a852509 [726]" could not be
resolved. Reason: Missing Constraint: Bundle-
RequiredExecutionEnvironment: JavaSE-1.6
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:
1317)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:
1301)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:
319)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:
374)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:
1067)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:
561)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:
546)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:
459)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:
243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:
440)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:
227)
at org.eclipse.osgi.framework.eventmgr.EventManager
$EventThread.run(EventManager.java:337)

On Apr 2, 10:49 pm, Li Yunpeng <loveyoup...@gmail.com> wrote:
> Hi Mico,
>            I'm using JDK 1.6.0_25 Linux 64 bit edition, Eclipse i tried
> 3.6.2 JEE,RCP,Java and Classic edition I even tried Spring STS 3.6.x, AJDT
> I tried update from official update site it should be either 2.1.3 or
> 2.1.2, Scala I tried 2.9 release,
>            It turns out that most of the time I will failed to install
> AJDT, for those succeed ones, I can not enable JDT Weaving, and I also
> followed the get started video on Scala IDE download page. I used a clean
> Eclipse Classic and install Scala IDE from the listed update site , after
> the installation and restart, there is no Scala WIzards in it.
>            I'm thinking if it is due to I'm useing Ubuntu 10.04 64 bit, or
> Ecipse Linux 64 bit, even if AJDT is comparable with 64 bit linux platform,
> rather than Scala IDE. By the way is there a Scala IDE bundle which likes
> those list on eclipse site I can download and use directly? :P
>            For logs, since the failures are happened during installation I
> can not find any.
>            Any ideas will be help.
>
> -- YP
>
> 2012/4/2 Mirco Dotta <mirco.do...@typesafe.com>
>
>
>
>
>
>
>
> > What Java versions are you using?
>
> > If you are on JDK7, you should try using Eclipse Indigo 3.7.2+
>
> > Otherwise, do you see any error in the Eclipse Error Log View?
>
> > Also, what Scala IDE version are you using?
>
> > -- Mirco
>
> > On Apr 2, 2012, at 7:40 AM, lee youpeng wrote:
>
> > Hi All,
> >        I tried a couple of days to install Scala IDE on my ubuntu
> > 10.04 64 bit desktop, however, no matter which ecipse 3.6.2 bundles I
> > used all failed(Ecilpse for JEE,RCP,Classic,Java,Spring STS), And i
> > can not even install AJDT successfully,for those succeed ones, I can
> > not enabling JDT Weaving, I'm not sure if this is the eclipse issue,
> > OS issue or Scala IDE issue, any suggestions will be great help.
>
> >        Best
> > Wishes
>
> > -- YP Li
>
> > ---------------
> > Mirco Dotta
> > Typesafe <http://www.typesafe.com/> - The software stack for applications

lee youpeng

unread,
Apr 2, 2012, 11:31:51 AM4/2/12
to Scala IDE User
here is the Diagnosis errors for org.scala-refactoring.library(other
packages are fine):

The following problems were found:
Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Missing imported package scala.reflect.internal_0.0.0
Missing imported package scala.reflect.api_0.0.0
Missing imported package scala.reflect.std_0.0.0
Missing imported package scala.reflect.runtime_0.0.0


On Apr 2, 11:25 pm, lee youpeng <loveyoup...@gmail.com> wrote:
> Hi Micro,
>            Following are the logs I found on one of the RCP workspace:
>
> !SESSION 2012-04-02 23:09:14.097
> -----------------------------------------------
> eclipse.buildId=M20110210-1200
> java.fullversion=GNU libgcj 4.4.3
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments:  -product org.eclipse.epp.package.rcp.product
> Command-line arguments:  -os linux -ws gtk -arch x86_64 -product
> org.eclipse.epp.package.rcp.product
>
> !ENTRY org.scala-ide.sdt.core 4 0 2012-04-02 23:09:19.815
> !MESSAGE
> !STACK 0
> org.osgi.framework.BundleException: The bundle "org.scala-
> ide.sdt.core_2.0.0.v-2_09-201112200102-82421c5 [725]" could not be
> resolved. Reason: Missing Constraint: Require-Bundle: org.scala-
> refactoring.library; bundle-version="0.0.0"
>    at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(Ab­stractBundle.java:
> 1317)
>    at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailur­eException(AbstractBundle.java:
> 1301)
>    at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.­java:
> 319)
>    at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBund­le.java:
> 374)
>    at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.j­ava:
> 1067)
>    at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(St­artLevelManager.java:
> 561)
>    at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(St­artLevelManager.java:
> 546)
>    at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLev­elManager.java:
> 459)
>    at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(­StartLevelManager.java:
> 243)
>    at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(St­artLevelManager.java:
> 440)
>    at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager­.java:
> 227)
>    at org.eclipse.osgi.framework.eventmgr.EventManager
> $EventThread.run(EventManager.java:337)
>
> !ENTRY org.scala-refactoring.library 4 0 2012-04-02 23:09:19.823
> !MESSAGE
> !STACK 0
> org.osgi.framework.BundleException: The bundle "org.scala-
> refactoring.library_0.3.0.201112181742-a852509 [726]" could not be
> resolved. Reason: Missing Constraint: Bundle-
> RequiredExecutionEnvironment: JavaSE-1.6
>    at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(Ab­stractBundle.java:
> 1317)
>    at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailur­eException(AbstractBundle.java:
> 1301)
>    at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.­java:
> 319)
>    at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBund­le.java:
> 374)
>    at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.j­ava:
> 1067)
>    at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(St­artLevelManager.java:
> 561)
>    at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(St­artLevelManager.java:
> 546)
>    at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLev­elManager.java:
> 459)
>    at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(­StartLevelManager.java:
> 243)
>    at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(St­artLevelManager.java:
> 440)
>    at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager­.java:

Mirco Dotta

unread,
Apr 3, 2012, 3:32:04 AM4/3/12
to scala-i...@googlegroups.com
A did some quick googling and I eventually found a StackOverflow question that looks 
very similar to what you are experiencing


My suggestion is to download Eclipse Classic 32bit (maybe try using Eclipse 3.7.2 - Indigo) 


And try to install the Scala IDE 2.0.0 again (update site: http://download.scala-ide.org/releases-29/stable/site)

Let us know if that works, or if you find a different solution.

Cheers,
  Mirco

---------------
Mirco Dotta
Typesafe - The software stack for applications that scale

Hubert Plociniczak

unread,
Apr 3, 2012, 3:48:24 AM4/3/12
to Scala IDE User
I have an almost exactly the same setup and it works for me. Maybe
your java package is a 32bit version (rather than 64?).

hubert

On Apr 3, 9:32 am, Mirco Dotta <mirco.do...@typesafe.com> wrote:
> A did some quick googling and I eventually found a StackOverflow question that looks
> very similar to what you are experiencing
>
>        http://stackoverflow.com/questions/8629294/android-plugin-install-pro...
>
> My suggestion is to download Eclipse Classic 32bit (maybe try using Eclipse 3.7.2 - Indigo)
>
>        http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads...

lee youpeng

unread,
Apr 3, 2012, 11:19:54 AM4/3/12
to Scala IDE User
Hi Hubert,
my java is 1.6.0_25 64 bit pls check out the following
info

$ java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)


On Apr 3, 3:48 pm, Hubert Plociniczak <hubert.plocinic...@gmail.com>
wrote:

lee youpeng

unread,
Apr 3, 2012, 11:22:44 AM4/3/12
to Scala IDE User
Hi Micro,
thx for the page, unfortunately, it is about Android
plugin, in my case AJDT means AspcetJ Development Toolkit
I will try 32bit latter, not sure if it can works on 64bit
machine.

Thanks

-- YP

On Apr 3, 3:32 pm, Mirco Dotta <mirco.do...@typesafe.com> wrote:
> A did some quick googling and I eventually found a StackOverflow question that looks
> very similar to what you are experiencing
>
>        http://stackoverflow.com/questions/8629294/android-plugin-install-pro...
>
> My suggestion is to download Eclipse Classic 32bit (maybe try using Eclipse 3.7.2 - Indigo)
>
>        http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads...

Mirko Stocker

unread,
Apr 3, 2012, 11:28:18 AM4/3/12
to scala-i...@googlegroups.com
Hi,

This is a really curious case.. when I read the log files you sent, I noticed the following bit:

On Mon, Apr 2, 2012 at 17:25, lee youpeng <lovey...@gmail.com> wrote:
java.fullversion=GNU libgcj 4.4.3

Do you have any ideas where that's coming from? Are you 100% sure that the Java that runs Eclipse is the same as `java -version`? Could you send us the content of Help -> About -> Installation Details -> Configuration?

Thanks,

Hubert Plociniczak

unread,
Apr 3, 2012, 11:31:19 AM4/3/12
to Scala IDE User
I have _26, so that's not your problem then.

Hubert Plociniczak

unread,
Apr 3, 2012, 11:37:14 AM4/3/12
to Scala IDE User


On Apr 3, 5:28 pm, Mirko Stocker <m...@misto.ch> wrote:
> Hi,
>
> This is a really curious case.. when I read the log files you sent, I
> noticed the following bit:
>
> On Mon, Apr 2, 2012 at 17:25, lee youpeng <loveyoup...@gmail.com> wrote:
> > java.fullversion=GNU libgcj 4.4.3

Ubuntu by default comes with gnu java compiler. The first thing I do
after installation is to remove it cause it doesn't work for most of
the applications and causes more trouble than good.
You have to make sure that gcj does not lurk around on one of your
paths and eclipse doesn't pick it up.

lee youpeng

unread,
Apr 3, 2012, 12:48:26 PM4/3/12
to Scala IDE User
Hi Hubert,
Thanks a lot for your reminder, it finally works, I
changed my ubuntu default JVM by "sudo update-java-alternatives -s
java-6-sun"

Hi Micro,
Thanks a lot for your helps.

I think this issue can be added to Scala IDE FAQs in case someone
experienced the same as me, I'm not sure how to inform the Scala IDE
team,maybe you guys can help me


Thanks a lot

-- YP

On Apr 3, 11:37 pm, Hubert Plociniczak <hubert.plocinic...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages