Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You edit the KDE's mime types information so that when you double-click a java file (which has a certain suffix) KDE checks out the mimetype information, sees that you've defined such files to be java files and to be opened using program X (java interpreter?) and does the job.
That's what I think, at least. Check out the Control Center.
Incidently, eclipse executable has no extension. When I start it in KDE, it says:
A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse. No Java virtual machine
was found after searching the following locations:
/programs/eclipse/jre/bin/java
'java' in your current PATH
I've already tried to configure file extensions.
Configure your desktop -> File Associations ->
I have the following extensions appearing in the list related to JAVA. What does x stand for?
There might be a need to install Sun Java, to explicitely set the Java CLASSPATH, and to explicitely start Eclipse by using a specific Java virtual machine.
I.e., my custom launcher is (don't get mad...),
Sorry for the misleading info on "which" BTW. Eclipse won't consider that.
Also, in my command line, the "-vm" argument is wrong. Yours in contrast, pointing to the "java" executable, is right.
Apparently, the java executable is not in the path. You can check that by:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.