This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Error, Eclipse Java compiler, Eclipse:15530, adwaita

Tags: None
(comma "," separated)
User avatar
rrodrigez
Registered Member
Posts
16
Karma
0
Eclipse Java compiler

Popup Error message:
JVM terminated. Exit code=1
/usr/bin/java
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:MaxPermSize=256m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /usr/lib/eclipse//plugins/org.eclipse.platform_3.8.1.dist/splash.bmp
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
--launcher.library /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.dist/eclipse_1503.so
-startup /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
--launcher.overrideVmargs
-exitdata 3a8005
-clean
-initialize
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:MaxPermSize=256m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar


Command-Line message:
(Eclipse:15530): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita"


How to fix this issue?


Information Theory
https://youtu.be/Sb9-y3H-Yt4

...Ignorance is Bliss
User avatar
rrodrigez
Registered Member
Posts
16
Karma
0
OK
i installed adwaita icons and now i have a new issue wit the Java Virtual Machine.
i installed the Java VM with Synaptic Package Manager, but it seems not to be the right one.
What can i do?

Error Poup:
JVM terminated. Exit code=1
/usr/bin/java
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:MaxPermSize=256m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /usr/lib/eclipse//plugins/org.eclipse.platform_3.8.1.dist/splash.bmp
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
--launcher.library /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.dist/eclipse_1503.so
-startup /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
--launcher.overrideVmargs
-exitdata 74800a
-clean
-initialize
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:MaxPermSize=256m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar



Command-Line:
root@linux:/# eclipse
Unrecognized VM option 'MaxPermSize=256m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.


Information Theory
https://youtu.be/Sb9-y3H-Yt4

...Ignorance is Bliss
sjainnahtasurbhi
Registered Member
Posts
1
Karma
0
Hi,

While I've also looked for this, the only solution I found was to use Maven. With maven-compiler-plugin you can specify the compiler to use, and eclipse will delegate to it. I hope a similar trick can be done for Ant-based projects.

<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<compilerId>javac</compilerId>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-javac</artifactId>
<version>1.6</version>
</dependency>
</dependencies>
</plugin>

Job Oriented Java Certification Course in Pune


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]