eclipse-juno

Very slow Eclipse 4.2, how to make it more responsive?

一世执手 提交于 2019-11-29 19:48:45
I'm using Eclipse PDT on a rather large PHP project and the IDE is almost unusable. It takes nearly 30 seconds to open a file, and other actions, like selecting a folder in the file explorer, editing some text, etc. are equally slow. I followed various instructions to speed it up but nothing seems to work. This is my current eclipse.ini file. Any idea how I can improve it? -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813 -showsplash org.eclipse.platform --launcher.XXMaxPermSize

eclipse Juno custom workbench colors

旧时模样 提交于 2019-11-29 19:27:55
问题 anybody who knows how to change the colors of workbench views (e.g. Package Explorer) in eclipse Juno (4.2)? How can I use this nice, new CSS styling feature? For the editors it's available under Preferences - General - Appearance, but I want/need to change the whole workbench theme to darker colors. 回答1: Following the "Eclipse 4 CSS Styling- Tutorial ", you could use the CSS spy to determine the CSS styles applied to the package explorer, in order to develop your own theme for it. 来源: https:

Eclipse 4.2 (Juno) 'Cannot create a server using the selected type' in Tomcat 7

北城以北 提交于 2019-11-29 18:45:02
I have installed: eclipse juno java-6-openjdk-i386 (selected as default JRE in Eclipse) java-7-openjdk-i386 When I try to add a new server Tomcat7 in Eclipse I get this message 'Cannot create a server using the selected type' and I can not continue. No problem adding Tomcat6 server. I read this question but it didn't worked Similar Question Joe 1 . To fix the error 'Cannot create a server using the selected type' run the following: cd ~/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/ rm org.eclipse.jst.server.tomcat.core.prefs rm org.eclipse.wst.server.core.prefs 2 . Once you

java.lang.IllegalArgumentException: already added: Lorg/hamcrest/BaseDescription; Conversion to Dalvik format failed with error 1

落花浮王杯 提交于 2019-11-29 18:04:48
问题 First of all, there are at least 2 postings with the same problem but these solutions don't work anymore, at least not in my installation. I'm using m2e with Eclipse and Android and tried to run the application as "Android Application" by selecting run as->Android application, but I always get this error: UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added: Lorg/hamcrest/BaseDescription; . . . [2012-09-08 19:50:41 - net.mydomain.project-TRUNK] Conversion to

Exception java.lang.IncompatibleClassChangeError while running Groovy in Eclipse Juno

心不动则不痛 提交于 2019-11-29 12:23:31
问题 I have recently downloaded Eclipse Juno and installed latest Groovy plugin. Now here is how my Groovy file looks like. package groovy_support class TimePass { static void main(def args){ println "Hello World" } } When i run this from either my previous eclipse version (indigo) or from command line, it runs. On Eclipse Juno, however, it complains with following exception on Eclipse console. Caught: java.lang.IncompatibleClassChangeError: Found class org.objectweb.asm.ClassVisitor, but

Unable to create Android AVD because of Target and CPU/ABI settings?

早过忘川 提交于 2019-11-29 10:43:23
问题 I'm running Juno and just beginning to learn Android programming on Mac , on the latest SDK, 4.2 (API 17), and when I try to create an AVD, and as you can see from the screenshot (actually never mind, as a new user I'm not allowed to post a screen shot), I can input my Title, I can also choose my device, but when I try to change the dropdown menus of the target and CPU/ABI options, they don't drop at all. Also, the typical hardware box in which you add and delete chosen hardware, is not

Switch perspective in a RCP application since Eclipse Juno?

拈花ヽ惹草 提交于 2019-11-29 10:31:47
问题 In my RCP application I use this code to switch perspective : IWorkbenchWindow window = getViewSite().getWorkbenchWindow(); window.getWorkbench().showPerspective(PRODUCT_PERSPECTIVE_ID, window); I didn't change my code but I changed my developement environnement from java 6 64bits + windows + Eclipse Indigo to java 7 32bits + windows + Eclipse Juno And now the perspective doesn't switch any more, with no exception and nothing suspect visible in debug. I didn't find any bug report. Is there an

Eclipse Juno vs Eclipse Kepler

限于喜欢 提交于 2019-11-29 08:52:12
what are the advantages and disadvantages of each version of Eclipse (Juno and Kepler) ? which one is the more stable version ? how to choose the right version of eclipse? Each eclipse release has some bug fixes, new features updated APIs etc. You can check News and Noteworthy section of each release to know how the current release is different from its preceded version. Kepler News and Noteworthy section is here . Compare the each feature/involving projects version of both Juno and Kepler from here and here . Note that Kepler feature versions are higher(or newer) which indicate the bug fixes

Eclipse IDE - Open Call Hierarchy is empty/broken

烈酒焚心 提交于 2019-11-29 05:26:01
What should I do, if the "Open Call Hierarchy" is broken (empty for every method in a project)? It only shows the name of the method I wanted to see the call hierarchy for. This happens for all methods I try, even though they are all called by other methods. It is very useful for code navigation. I do not know how to work without it! I've tried: Opening eclipse.exe -clean -refresh Restarting Eclipse Closing and reopening the project Updating the project Renaming the .metadata file I've checked that it searches the whole workspace, and there are no filters on. Skip The following may help:

Connect to DB2 database in eclipse via jdbc

☆樱花仙子☆ 提交于 2019-11-29 05:12:21
I'm trying to connect to an IBM DB2 database with Eclipse (version Juno) via JDBC. I've added the drivers (external jar files) to my project and the driver is loaded correctly ... public static void main(String[] args) throws SQLException, ClassNotFoundException { Class.forName("com.ibm.db2.jcc.DB2Driver"); System.out.println("Driver loaded"); Connection dbConn = DriverManager.getConnection("jdbc:db2://***.**.***.*:50000/BWUEBDB", "username", "password"); System.out.println("Connected"); } I also know that the connection data (database path, username, password) is correct. But I get a java