I installed JDK 7 and Eclipse 3.6M6. Then, I added JRE 7 as a new JRE execution environment in Eclipse, and set the compiler compliance level to Java 7. I can compile the following piece of code through command line using the javac that comes with JDK 7.
import java.util.HashMap;
import java.util.Map;
public class Try {
public st...
Hi all!, what is difference between eclipse pulsar, eclipse mtj, and eclipse me ?
...
I downloaded the scion cabal and am attempting to created scion_server
I ran all of the runghc Setup (configure/build/install)
The Haskell libraries are installed, but the scion_server is not in the ~/.cabal/bin
I have to use a --user on configure so I can install it on just my account.
Any thoughts?
...
I have the linux alpha version of flex builder installed in /opt/flex and eclipse was installed with synaptic package manager into /usr/lib/eclipse. It looks like eclipse is not aware of flex, since when I attempt to create a new file with eclipse I don't see flex builder as an option.
...
I have an maven eclipse webapp project that I was able to right click and 'Run on server' and it would deploy on tomcat. I recently did a 'maven -> Update project conifgurations' and I now can NOT deploy and run the project as a webapp. Has anyone seen this before? The only output from tomcat is as follows - it doesnt even look like it...
I'm creating an editor for Eclipse. Right now the editor fires up with the user creates a new file with the appropriate extension. My question is, how can I get a reference to the project in which the file resides? For example, say I have a workspace with 2 projects, P1 and P2. I right click P2 and create a new file, can I get a referenc...
Hi
I have an Eclipse CDT enviroment up and running and customised just the way I like it. I'm also going to be heavily dealing with java soon and I don't want to install a seperate version of Eclipse just to get the java features as I'll be switching between C->C++->ADA->Java quite often so I'd wont the one IDE to support all languages...
If I have handle to file how do I create a document and write to it? Right now, I am having to delete the file completely and recreate with new content as shown below :
IFile file = getFile();
file.delete();
file.create(input, false, null);
EDIT : This is in an eclipse plugin, not a regular java program.
...
What is meant by the src in Eclipse IDE?
Also what are all the default packages/components/classes created by the eclipse IDE for us?
...
Hi,
I create a simple Java file which prints something on the system.out, compile and run it with the following,
public class MyClass {
public static void main(String[] args) {
System.out.println("MyClass here");
}
}
java -Xmx1024m MyClass
and I get
Error occurred during initialization of VM
Could not reserve enoug...
I have an Java applications which I would like to run with different values of input parameters (specified in the command line). In "Run -> Run Configurations" I have created different configurations corresponding to different values of the input arguments.
I can run these configurations in the same way (throw "Run -> Run Configurations...
Does someone know a plugin for Eclipse that replaces fully qualified Java class names with the simple one and the corresponding import where possible? It would be even better if it could be performed as a Save Action.
...
Hi, all.
I've been having a tough time entering input with gdb using XCode or Eclipse. Every time the debugger hits std::cin, it looks like its waiting for input, but fails to accept it. I've scoured the internet for more information, but am having trouble finding anything.
What do I need to do to get cin to work with gdb? For referen...
I am having troubles with using FP2 for eclipse and getting it to connect with the server.
Eclipse seems to auto-detect scion_server, but I a error in the log file
!ENTRY net.sf.eclipsefp.haskell.scion.client 4 4 2010-04-15 10:40:06.580
!MESSAGE The connection with the Scion server could not be established.
!STACK 0
The connection with...
I have 2 projects linked and these 2 projects each have a package under them.
XProject -> XPackage -> XClass -> X1Method(); X2Method();
YProject -> YPackage -> YClass -> Y1Method();
I'm trying to call X1 and X2 methods from Y1 Method. I can call X1 Method but when I call X2 method I get a runtime error (java.lang.NoSuchMethodError:)
...
I don't have eclipse on my system at all, but I have on my hands an eclipse project (flex) that I would like to compile and I was wondering if there was any way to do it with minimal to no changes having to be made. Is this possible?
...
To Xcode xPerts:
I have been doing Java in Eclipse for about 9 years now and I have really gotten used to the power of the refactoring tools. There are a few operations I do all the time. I am looking for equivalents in Xcode since it has better support for objective-c than eclipse. (I'm not at my Mac as I write this. So some of this...
Using Eclipse 3.6 and Groovy 2.0.1.20100319-1100-e35-RELEASE, auto-format does nothing. That is, for a given groovy file, Source > Format does nothing.
Any thoughts?
...
The ff. does not work. "Second line" is rendered on the same line as "First line". What's more is that there is no space between the two.
new BooleanFieldEditor("Name", "First line\nSecond line", getFieldEditorParent());
...
Currently my eclipse source folder display the entire package path and java files under that path. Is there some setting that i change and see subpackages+(java)files under parent packages.
for e.g.
src/main/java
com.company.packageA
a.java
com.company.packageA.subpackageA
suba.java
becomes
src/main/java
com.c...