eclipse-indigo

Eclipse returns error on run: “java selection does not contain a main type”

房东的猫 提交于 2019-12-11 02:54:09
问题 I am unable to run the following code in Eclipse (Eclipse IDE for Java Developers, Version: Indigo Service Release 1, Build id: 20110916-0149), and I think that I may have a configuration problem in Eclipse (but I do not know what or where): class Saluton { public static void main(String args[]) { String greeting = "Saluton mondo!"; System.out.println(greeting); } } I am also running against Java 6 (1.6.0_29-b11-402) on Macintosh 10.7.2. When I run this, I get the error: "java selection does

Eclipse plugin : disable/enable dynamically an action from main menubar

。_饼干妹妹 提交于 2019-12-11 02:44:22
问题 EDIT : SOLVED Background I have implemented a eclipse plugin (on indigo, 3.7.2) that provide a new icon in the bar menu. This new action is fully initialized few seconds after eclipse startup (some configuration files are loaded from my maven repository). I'm trying to disable this action until my activator finish initalization. What I'm looking for Before initialization After initialization What I've already done I added an enablement test on my action. My action will be enabled only if my

Eclipse 3.7 Indigo : “About dialog” error

允我心安 提交于 2019-12-10 20:31:25
问题 I recently upgraded my Eclipse 3.6 instance to 3.7. I wanted to view the Help -> About Eclipse option, but this dialog does not show up. Ran it with the -consoleLog -debug option to understand what could be going wrong. This is what I see, any thoughts? Btw, I have posted this question on the Eclipse Platform discussion forum too: http://www.eclipse.org/forums/index.php/m/692851/#msg_692851 kiran@skiran:~/code/dx-4.2.0$ ~/programs/open/eclipse/eclipse -consoleLog -debug Start VM: -Djava

When creating new android project, getting error “Activity Name must be specified”

南笙酒味 提交于 2019-12-10 16:26:44
问题 When I'm trying to create a new Android Application Project in the step as shown below getting error "Activity Name must be specified". Same happens when I try to create a new activity. I'm a bit confused about Hierarchical parent class. What is use of it? Why Eclipse is not allowing me to create activity without specifying it? (It should have been optional) How can I create an Activity without specifying Hierarchical parent? Thank You very much. 回答1: In Eclipse Go to Window==>preferences=

What is the difference between Eclipse 3.7 and Eclipse 4.1?

放肆的年华 提交于 2019-12-09 04:27:42
问题 I see there are two main distributions of Eclipse going on - One is on 3.6, 3.7, 3.8 path and the other is 4.0, 4.1 path(http://www.eclipse.org/e4/). I don't have clarity on what is the difference between these two distributions? 回答1: 3.7 (code name Indigo ) and 3.8 are bug fixes and stability releases whereas 4.0,4.1,4.2 (code name Juno ) are new feature set mature platform releases. Release 3.8 and 4.2 are going on simultaneously. You can find more on the eclipse project plans here. Juno

Runnable JAR file error: Unsupported major.minor version 51.0

大憨熊 提交于 2019-12-08 06:52:59
问题 I made an application in Java (version 7) with Eclipse (Indigo) when I exported my application interface on a Runnable JAR file on my computer and tried it worked fine, then I tried on another computer and I get this problem Exception in thread "main" java.lang.UnsupportedClassVersionError: cliente/Princ ipal : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass

How can I use Java 7 with Eclipse Indigo 3.7.1

↘锁芯ラ 提交于 2019-12-07 05:41:31
问题 From what I understand Eclipse Indigo 3.7.1 should now have support for Java 7. I downloaded Eclipse 3.7.1. and JDK 1.7.0 and added JRE7 in the settings in Eclipse. Then I created a new project using JRE7 and wrote a short Java 7 program: public class Test7 { public static void main(String[] args) { String k = "Hello"; switch(k) { case "World": System.out.println("World Hello"); break; case "Hello": System.out.println("Hello World"); break; } } } But I get an error when I try to use a String

Eclipse Indigo PDT does not underline syntax errors

拟墨画扇 提交于 2019-12-07 03:37:26
问题 I installed Eclipse SDK Indigo and then followed the following instructions to install PDT on it: This is the original solution posted by ben-k link to the topic: Eclipse indigo PDT 3.0 gotcha download "Eclipse Classic" unzip/install to a new folder location (e.g. c:\eclipse-indigo-win32\ go to help->install new software select Indigo - http://download.eclipse.org/releases/indigo from the "Work with" drop down list type "php" in the filter text Select "PHP Development Tools (PDT) SDK Feature

Difference between “Eclipse Indigo” and “Eclipse Juno”

旧城冷巷雨未停 提交于 2019-12-07 00:13:32
问题 Currently I'm using Eclipse Indigo (v3.7) for Selenium WebDriver automation tests with Java. There is also Eclipse Juno (v3.8 - 4.2) available that I have never used. What's the difference between Eclipse Indigo and Eclipse Juno ? 回答1: Since 2006, the Eclipse Foundation has coordinated an annual Simultaneous Release. Each release includes the Eclipse Platform as well as a number of other Eclipse projects. So far, each Simultaneous Release has occurred on the fourth Wednesday of June. Eclipse

Can't find Window builder pro in eclipse indigo

这一生的挚爱 提交于 2019-12-06 02:49:31
问题 I read that Eclipse Indigo has Window Builder Pro plugin installed but I don't see where is it. File/New/Project doesn't give me option to choose Window Builder Pro. How to find it? 回答1: You need to add this update site to Eclipse. http://download.eclipse.org/windowbuilder/WB/release/R201106211200/3.7/ I found it on this page http://eclipse.org/windowbuilder/download.php 回答2: Seems as the project isn't fully finished for Indigo (http://eclipse.org/indigo/planning/SimultaneousReleaseOverview