Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
1
votes
0
answers
888
views
Create desktop Entry for Eclipse IDE in Debian 10
I am not expert in linux but can find my way around it most of the time. I have install Eclipse IDE for Debian 10 and tried to create a desktop entry. This is what I did: Created a eclipse.desktop file in `~/.local/share/applications` directory. These are the contents of the file: [Desktop Entry] Na...
I am not expert in linux but can find my way around it most of the time. I have install Eclipse IDE for Debian 10 and tried to create a desktop entry. This is what I did:
Created a eclipse.desktop file in
~/.local/share/applications
directory.
These are the contents of the file:
[Desktop Entry]
Name=Eclipse Java IDE
Comment=Eclipse Java IDE
Type=Application
Encoding=UTF-8
Exec=/home/testaccount/eclipse/cpp-2020-03/eclipse/eclipse
Icon=/home/testaccount/eclipse/cpp-2020-03/eclipse/icon.xpm
Categories=GNOME;Application;Development;
Terminal=false
StartupNotify=true
Saved filed and gave exec permission with chmod +x ~/.local/share/applications/eclipse.desktop
.
I rebooted my Debian VM already and I do not have the icon still. I currently created a soft link to it in the meantime. Not sure why the desktop entry is not working yet, I am not sure what I am missing.
Thank you.
oh.no.helives
(11 rep)
May 24, 2020, 07:25 PM
• Last activity: May 19, 2025, 09:47 AM
3
votes
2
answers
5880
views
How can I replace ^I into tab spaces in vim editor for .java file?
When I open my .java file in vim, I could see a couple of lines prefixed with one / more `^I` characters. It looks like tabs in Eclipse that has got converted into `^I`. I would like to replace a single `^I` into spaces with 4 characters. E.g `^I^I^I^IList rulePackagesHistory = result.getHistory();`...
When I open my .java file in vim, I could see a couple of lines prefixed with one / more
^I
characters. It looks like tabs in Eclipse that has got converted into ^I
.
I would like to replace a single ^I
into spaces with 4 characters.
E.g
^I^I^I^IList rulePackagesHistory = result.getHistory();
How can do that in vim editor?
user648330
(33 rep)
Aug 21, 2014, 07:36 AM
• Last activity: Dec 16, 2024, 09:05 AM
0
votes
1
answers
61
views
Passing arguments to eclipse through flatpak
I run eclipse on linux mint. The installation uses flatpak as an envelope for execution. The exact command is: `/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=eclipse --file-forwarding org.eclipse.Java` I want to pass the workspace path to eclipse and after googling, found that eclipse...
I run eclipse on linux mint. The installation uses flatpak as an envelope for execution. The exact command is:
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=eclipse --file-forwarding org.eclipse.Java
I want to pass the workspace path to eclipse and after googling, found that eclipse can take an argument specifying the workspace. Specifically, it is the -data argument, which takes a path to the workspace. So, I tried: /usr/bin/flatpak run --branch=stable --arch=x86_64 --command="eclipse -data " --file-forwarding org.eclipse.Java
I quoted the whole command because when left out the quotes, flatpak complained that it did not recognize the -data flag. However, now I get the following error:
bwrap: execvp eclipse -data /home/dan/eclipse-workspace-minion: No such file or directory
I am guessing that quoting eclipse interferes with flatpak's search for the eclipse executable. (BTW: I checked and the directory /home/dan/eclipse-workspace-minion exists.) Can anyone advise me how to pass the -data argument to eclipse when it is executed through flatpak?
dnessett
(31 rep)
Dec 13, 2024, 04:34 AM
• Last activity: Dec 14, 2024, 09:05 PM
1
votes
2
answers
23106
views
open eclipse from a terminal and pass a workspace to open
I want to open eclipse through terminal and i am able to do it, but when when eclipse starts it asks for the workspace directory attached the screenshot,and then there i have to specify it, i dont want this. [![enter image description here][1]][1] As i pass the **eclipse** command in the terminal, i...
I want to open eclipse through terminal and i am able to do it, but when when eclipse starts it asks for the workspace directory attached the screenshot,and then there i have to specify it, i dont want this.
As i pass the **eclipse** command in the terminal, i want to pass the workspace directory along with the eclipse command followed by **OK** as prompt ask for it.
Thanks in advance.

Taleev Aalam
(23 rep)
Jan 3, 2018, 02:09 PM
• Last activity: Sep 26, 2024, 09:46 AM
0
votes
1
answers
362
views
"Failed to load swt-pi3" error in e2studio installer
I would like to install the latest version of Renesas' e2studio on my up-to-date Fedora 39 machine but I keep getting the following error: ``` $ ./e2studio_installer-2024-01_1_linux_host.run Mar. 31, 2024 3:19:36 P.M. org.apache.aries.spifly.BaseActivator log INFO: Registered provider org.slf4j.simp...
I would like to install the latest version of Renesas' e2studio on my up-to-date Fedora 39 machine but I keep getting the following error:
$ ./e2studio_installer-2024-01_1_linux_host.run
Mar. 31, 2024 3:19:36 P.M. org.apache.aries.spifly.BaseActivator log
INFO: Registered provider org.slf4j.simple.SimpleServiceProvider of service org.slf4j.spi.SLF4JServiceProvider in bundle slf4j.simple
SWT OS.java Error: Failed to load swt-pi3, loading swt-pi4 as fallback.
I've installed the eclipse-swt
package and confimed that I have Java installed:
$ java --version
openjdk 17.0.9 2023-10-17
OpenJDK Runtime Environment (Red_Hat-17.0.9.0.9-4) (build 17.0.9+9)
OpenJDK 64-Bit Server VM (Red_Hat-17.0.9.0.9-4) (build 17.0.9+9, mixed mode, sharing)
I have tried to find a solution by searching the web but have not succeeded so far. Can anyone here help me to get this resolved?
stdcerr
(2099 rep)
Mar 31, 2024, 10:29 PM
• Last activity: Jun 25, 2024, 08:58 PM
4
votes
2
answers
24928
views
mpi.h not found
I tried to compile the Hello World program in C, inside Eclipse PTP, but it gives me an error related to `mpi.h`. I have included `/usr/local/include` and `/usr/local/lib` in my paths, and also tried running a search with `find / -name mpi.h`. I still get a *No such file or directory* error. I tried...
I tried to compile the Hello World program in C, inside Eclipse PTP, but it gives me an error related to
mpi.h
.
I have included /usr/local/include
and /usr/local/lib
in my paths, and also tried running a search with find / -name mpi.h
. I still get a *No such file or directory* error.
I tried to install mpich2
, but still couldn't find mpi.h
.
Also:
- There is no folder inside the include
directory, why is that?
- I can find mpicc
at /usr/bin/mpicc
The same problem occurs when trying to compile the project as C++ code. What should I do?
Dalia Shouman
(57 rep)
Oct 21, 2015, 02:40 PM
• Last activity: Nov 18, 2023, 11:47 AM
1
votes
1
answers
292
views
Eclipse tooltip on Ubuntu 22.04 is always empty
I'm using Ubuntu 22.04 and Eclipse IDE (09.22). Every time I show the tooltip (for javadocs or so) it's just empty. I've seen people talking about similar problem and one of these solutions is to install gnome-color-chooser but I'm worried color-chooser is not right for jammy (Ubuntu 22.04) : I trie...
I'm using Ubuntu 22.04 and Eclipse IDE (09.22). Every time I show the tooltip (for javadocs or so) it's just empty.
I've seen people talking about similar problem and one of these solutions is to install gnome-color-chooser but I'm worried color-chooser is not right for jammy (Ubuntu 22.04) : I tried to install the deb but there are too many dependencies to be installed (who need dependencies on their own).
Does anyone have the same issue? or know how to solve it? thank you.

Iori Yagami
(111 rep)
Sep 16, 2022, 01:05 PM
• Last activity: Oct 9, 2023, 02:33 PM
0
votes
0
answers
511
views
Testing an application under Eclipse with sudo elevation
I am developing a C++ application that requires root privilege. I am working under Eclipse and I would like to be able to launch/debug from it. I know I could start Eclipse as a root, but I am looking for other options, such as somehow requesting the elevation in the launch configurations. Any idea...
I am developing a C++ application that requires root privilege. I am working under Eclipse and I would like to be able to launch/debug from it.
I know I could start Eclipse as a root, but I am looking for other options, such as somehow requesting the elevation in the launch configurations.
Any idea ?
----------
Note that my question is not about how to discourage myself to debug with root privilege.
Yves Daoust
(143 rep)
May 18, 2022, 07:08 AM
• Last activity: Sep 11, 2023, 10:16 AM
4
votes
2
answers
4870
views
Enabling menu icons in Gnome3
When I start Thunderbird or the IDE 'Eclipse', there are no icons in the menu entries. Several solutions found on the Internet suggest things like setting a specific dconf-value, but with my installation (Arch) this is not possible: % gsettings set org.gnome.desktop.interface menus-have-icons true N...
When I start Thunderbird or the IDE 'Eclipse', there are no icons in the menu entries. Several solutions found on the Internet suggest things like setting a specific dconf-value, but with my installation (Arch) this is not possible:
% gsettings set org.gnome.desktop.interface menus-have-icons true
No such key 'menus-have-icons'
So what is the current way for enabling these icons?
Stephan Windmüller
(210 rep)
Aug 14, 2014, 12:07 PM
• Last activity: Mar 12, 2023, 11:30 PM
1
votes
0
answers
40
views
Installing Jboss tools in ubunto is aborted
When installing "**Jboss tools 4.24.0 Final**" in Eclipse, the following error message appears: > Warning: You are installing software that contains unsigned content. > The authenticity or validity of this software cannot be established. > Do you want to continue with the installation? [
Dev Learning
(11 rep)
Sep 19, 2022, 11:26 PM
0
votes
1
answers
83
views
eclipse window builder work abnormaly in zorin os
I am using zorin os 16 pro. I am using eclipse in windows machine for few months. It works fine in windows. But problem in zorin os. I download eclipse from [this](https://flathub.org/apps/details/org.eclipse.Java) site. All things are fine except window builder. The drag & drop, border is not corre...
I am using zorin os 16 pro. I am using eclipse in windows machine for few months. It works fine in windows. But problem in zorin os. I download eclipse from [this](https://flathub.org/apps/details/org.eclipse.Java) site. All things are fine except window builder. The drag & drop, border is not correct. Like this image
I have installed WindowBuilder 1.9.8 and WindowBuilder Nightly Build 1.9.9. Is there any solution out there? Need help. I have googled but not find the solution yet.
Anyways, I love eclipse because I can customize all the code generated. Is there any alternative like eclipse? So that I can customize all codes include auto generated code? I have tried netbeans and intellij but I can not customize generated code.
Sorry for my bad english. Thanks to all.
I have tried saveral ways like change layout, drag and drop etc.

coder_hasib
(11 rep)
Sep 9, 2022, 08:30 AM
• Last activity: Sep 9, 2022, 11:52 AM
2
votes
2
answers
5116
views
After installing Eclipse and I get a "Please ensure that WebKit with its GTK 3.x bindings is installed" error when running it
On RHEL 8 I just installed Eclipse 2021-09 from the standalone install archive `eclipse-jee-2021-09-R-linux-gtk-x86_64.tar.gz`. When running it, the application opens up with the default window, but then shows an error dialog with the following message: > Unhandled event loop exception No more handl...
On RHEL 8 I just installed Eclipse 2021-09 from the standalone install archive
eclipse-jee-2021-09-R-linux-gtk-x86_64.tar.gz
.
When running it, the application opens up with the default window, but then shows an error dialog with the following message:
> Unhandled event loop exception
No more handles because there is no underlying browser available.
Please ensure that WebKit with its GTK 3.x bindings is installed (WebKit2 API level is preferred). Additionally, please note that GTK4 does not currently have Browser support.
I guess some libraries are missing. For another X11 application I had already run yum install gtk3-devel gtk2-devel
but Eclipse might need more.
What do I have install to get Eclipse running?
halloleo
(649 rep)
Oct 1, 2021, 08:49 AM
• Last activity: May 27, 2022, 07:56 PM
0
votes
2
answers
394
views
Cannot link to matlab libmat.so and libmx.so under Eclipse IDE
I am trying to compile **matcreat.cpp** under **Eclipse C++ IDE**. It allows to exchange matlab data with c++ programs. At some point I compile the program : /* * matcreat.cpp - MAT-file creation program * * See the MATLAB External Interfaces/API Guide for compiling information. * * Calling syntax:...
I am trying to compile **matcreat.cpp** under **Eclipse C++ IDE**. It allows to exchange matlab data with c++ programs. At some point I compile the program :
/*
* matcreat.cpp - MAT-file creation program
*
* See the MATLAB External Interfaces/API Guide for compiling information.
*
* Calling syntax:
*
* matcreat
*
* Create a MAT-file which can be loaded into MATLAB.
*
* This program demonstrates the use of the following functions:
*
* matClose
* matGetVariable
* matOpen
* matPutVariable
* matPutVariableAsGlobal
*
* Copyright 1984-2007 The MathWorks, Inc.
*/
#include
#include /* For strcmp() */
#include /* For EXIT_FAILURE, EXIT_SUCCESS */
#include /* For STL */
#include "mat.h"
#define BUFSIZE 256
int main() {
MATFile *pmat;
mxArray *pa1, *pa2, *pa3;
std::vector myInts;
myInts.push_back(1);
myInts.push_back(2);
printf("Accessing a STL vector: %d\n", myInts);
double data = { 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 };
const char *file = "mattest.mat";
char str[BUFSIZE];
int status;
printf("Creating file %s...\n\n", file);
pmat = matOpen(file, "w");
if (pmat == NULL) {
printf("Error creating file %s\n", file);
printf("(Do you have write permission in this directory?)\n");
return(EXIT_FAILURE);
}
pa1 = mxCreateDoubleMatrix(3,3,mxREAL);
if (pa1 == NULL) {
printf("%s : Out of memory on line %d\n", __FILE__, __LINE__);
printf("Unable to create mxArray.\n");
return(EXIT_FAILURE);
}
pa2 = mxCreateDoubleMatrix(3,3,mxREAL);
if (pa2 == NULL) {
printf("%s : Out of memory on line %d\n", __FILE__, __LINE__);
printf("Unable to create mxArray.\n");
return(EXIT_FAILURE);
}
memcpy((void *)(mxGetPr(pa2)), (void *)data, sizeof(data));
pa3 = mxCreateString("MATLAB: the language of technical computing");
if (pa3 == NULL) {
printf("%s : Out of memory on line %d\n", __FILE__, __LINE__);
printf("Unable to create string mxArray.\n");
return(EXIT_FAILURE);
}
status = matPutVariable(pmat, "LocalDouble", pa1);
if (status != 0) {
printf("%s : Error using matPutVariable on line %d\n", __FILE__, __LINE__);
return(EXIT_FAILURE);
}
status = matPutVariableAsGlobal(pmat, "GlobalDouble", pa2);
if (status != 0) {
printf("Error using matPutVariableAsGlobal\n");
return(EXIT_FAILURE);
}
status = matPutVariable(pmat, "LocalString", pa3);
if (status != 0) {
printf("%s : Error using matPutVariable on line %d\n", __FILE__, __LINE__);
return(EXIT_FAILURE);
}
/*
* Ooops! we need to copy data before writing the array. (Well,
* ok, this was really intentional.) This demonstrates that
* matPutVariable will overwrite an existing array in a MAT-file.
*/
memcpy((void *)(mxGetPr(pa1)), (void *)data, sizeof(data));
status = matPutVariable(pmat, "LocalDouble", pa1);
if (status != 0) {
printf("%s : Error using matPutVariable on line %d\n", __FILE__, __LINE__);
return(EXIT_FAILURE);
}
/* clean up */
mxDestroyArray(pa1);
mxDestroyArray(pa2);
mxDestroyArray(pa3);
if (matClose(pmat) != 0) {
printf("Error closing file %s\n",file);
return(EXIT_FAILURE);
}
/*
* Re-open file and verify its contents with matGetVariable
*/
pmat = matOpen(file, "r");
if (pmat == NULL) {
printf("Error reopening file %s\n", file);
return(EXIT_FAILURE);
}
/*
* Read in each array we just wrote
*/
pa1 = matGetVariable(pmat, "LocalDouble");
if (pa1 == NULL) {
printf("Error reading existing matrix LocalDouble\n");
return(EXIT_FAILURE);
}
if (mxGetNumberOfDimensions(pa1) != 2) {
printf("Error saving matrix: result does not have two dimensions\n");
return(EXIT_FAILURE);
}
pa2 = matGetVariable(pmat, "GlobalDouble");
if (pa2 == NULL) {
printf("Error reading existing matrix GlobalDouble\n");
return(EXIT_FAILURE);
}
if (!(mxIsFromGlobalWS(pa2))) {
printf("Error saving global matrix: result is not global\n");
return(EXIT_FAILURE);
}
pa3 = matGetVariable(pmat, "LocalString");
if (pa3 == NULL) {
printf("Error reading existing matrix LocalString\n");
return(EXIT_FAILURE);
}
status = mxGetString(pa3, str, sizeof(str));
if(status != 0) {
printf("Not enough space. String is truncated.");
return(EXIT_FAILURE);
}
if (strcmp(str, "MATLAB: the language of technical computing")) {
printf("Error saving string: result has incorrect contents\n");
return(EXIT_FAILURE);
}
/* clean up before exit */
mxDestroyArray(pa1);
mxDestroyArray(pa2);
mxDestroyArray(pa3);
if (matClose(pmat) != 0) {
printf("Error closing file %s\n",file);
return(EXIT_FAILURE);
}
printf("Done\n");
return(EXIT_SUCCESS);
}
At some point the program depends on libmat.so and libmx.so Matlab API so I wonder how to link it under Eclipse. Without any link I get
18:57:21 **** Incremental Build of configuration Debug for project essai ****
make all
Building target: essai
Invoking: GCC C++ Linker
g++ -o "essai" ./matcreat.o
/usr/bin/ld : ./matcreat.o : dans la fonction « main » :
/home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:44 : référence indéfinie vers « matOpen_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:51 : référence indéfinie vers « mxCreateDoubleMatrix_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:58 : référence indéfinie vers « mxCreateDoubleMatrix_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:64 : référence indéfinie vers « mxGetPr_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:66 : référence indéfinie vers « mxCreateString_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:73 : référence indéfinie vers « matPutVariable_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:79 : référence indéfinie vers « matPutVariableAsGlobal_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:85 : référence indéfinie vers « matPutVariable_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:96 : référence indéfinie vers « mxGetPr_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:97 : référence indéfinie vers « matPutVariable_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:104 : référence indéfinie vers « mxDestroyArray_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:105 : référence indéfinie vers « mxDestroyArray_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:106 : référence indéfinie vers « mxDestroyArray_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:108 : référence indéfinie vers « matClose_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:116 : référence indéfinie vers « matOpen_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:125 : référence indéfinie vers « matGetVariable_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:130 : référence indéfinie vers « mxGetNumberOfDimensions_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:135 : référence indéfinie vers « matGetVariable_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:140 : référence indéfinie vers « mxIsFromGlobalWS_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:145 : référence indéfinie vers « matGetVariable_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:151 : référence indéfinie vers « mxGetString_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:162 : référence indéfinie vers « mxDestroyArray_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:163 : référence indéfinie vers « mxDestroyArray_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:164 : référence indéfinie vers « mxDestroyArray_800 »
/usr/bin/ld : /home/baptiste/Code_Info/PLPLP4/PLPLP4_DEV/essai/Debug/../matcreat.cpp:166 : référence indéfinie vers « matClose_800 »
collect2: erreur: ld a retourné le statut de sortie 1
make: *** [makefile:60 : essai] Erreur 1
"make all" terminated with exit code 2. Build might be incomplete.
So I try following https://stackoverflow.com/questions/61220237/undefined-references-for-mat-h-in-c to put
-l/usr/local/MATLAB/R2020b/bin/glnxa64/libmx.so -l/usr/local/MATLAB/R2020b/bin/glnxa64/libmat.so in poperties >> C++ Build >>Settings >>GCC C++ Linker >> Linker flags.
I get
19:00:44 **** Incremental Build of configuration Debug for project essai ****
make all
Building target: essai
Invoking: GCC C++ Linker
g++ -l/usr/local/MATLAB/R2020b/bin/glnxa64/libmx.so -l/usr/local/MATLAB/R2020b/bin/glnxa64/libmat.so -o "essai" ./matcreat.o
/usr/bin/ld : ne peut trouver -l/usr/local/MATLAB/R2020b/bin/glnxa64/libmx.so
/usr/bin/ld : ne peut trouver -l/usr/local/MATLAB/R2020b/bin/glnxa64/libmat.so
collect2: erreur: ld a retourné le statut de sortie 1
make: *** [makefile:60 : essai] Erreur 1
"make all" terminated with exit code 2. Build might be incomplete
Any Idea?
I am new in C++, thanks in advance
B
Bap23
(1 rep)
May 20, 2022, 03:04 PM
• Last activity: May 22, 2022, 03:36 PM
0
votes
1
answers
148
views
How can I make a program I've added to the PATH run from the terminal?
I've followed [this question][1] to add eclipse to the path (using ln -s to make a link to /usr/local/bin/eclipse from home download), and when i type ```whereis eclipse``` I get /usr/local/bin/eclipse, but when I type ```eclipse``` into the terminal I get a snap message saying: ```Command 'eclipse'...
I've followed this question to add eclipse to the path (using ln -s to make a link to /usr/local/bin/eclipse from home download), and when i type
eclipse
I get /usr/local/bin/eclipse, but when I type
into the terminal I get a snap message saying:
'eclipse' not found, but can be installed with: sudo snap install eclipse
I explicitly went the route of downloading the tar file from Eclipse's website to avoid snap. Is this an issue with snap trying to "overide the PATH" or have I not setup eclipse into the path correctly?
dftag
(11 rep)
Jan 11, 2022, 10:06 PM
• Last activity: Jan 14, 2022, 10:29 PM
1
votes
1
answers
123
views
Linux mint - classify an application correctly in the start menu
Mint auto-classifies applications into categories in the start menu. I use this classification to navigate apps more easily. Recently I have installed Eclipse IDE and Mint failed to classify it as "programming", instead labeling it as "other". How do I manually classify this application as "programm...
Mint auto-classifies applications into categories in the start menu. I use this classification to navigate apps more easily.
Recently I have installed Eclipse IDE and Mint failed to classify it as "programming", instead labeling it as "other". How do I manually classify this application as "programming"?
Aviv Aviv
(131 rep)
Dec 30, 2021, 10:48 AM
• Last activity: Dec 31, 2021, 09:27 PM
1
votes
0
answers
25
views
Installation And Unistallation Of Tomcat
I just installed the tomcat 10.0.12 using below command ``` $ mkdir /opt/tomcat ``` ``` $ cd /opt/tomcat ``` ``` sudo wget https://dlcdn.apache.org/tomcat/tomcat-10/v10.0.12/bin/apache-tomcat-10.0.12.tar.gz ``` ``` $ tar xvzf apache-tomcat-8.5.65.tar.gz ``` ``` $ nano ~/.bashrc and set the environme...
I just installed the tomcat 10.0.12 using below command
instead of showing me this
please ignore 8.5.05 cause i downloaded this image from another website which was providing tutorial to insatll tomcat on linux
i think tomcat didn't uninstall completely and still running what should i do please tell me
$ mkdir /opt/tomcat
$ cd /opt/tomcat
sudo wget https://dlcdn.apache.org/tomcat/tomcat-10/v10.0.12/bin/apache-tomcat-10.0.12.tar.gz
$ tar xvzf apache-tomcat-8.5.65.tar.gz
$ nano ~/.bashrc
and set the environment variabels in it which are
export JAVA_HOME=/usr/lib/jvm/jdk-17
export CATALINA_HOME=/opt/tomcat/apache-tomcat-10.0.12
saved the changes
$ . ~/.bashrc
$ $CATALINA_HOME/bin/startup.sh
then i runned http://127.0.0.1:8080 in browser it worked perfectly fine for me
but when i checked that application for which i installed the tomcat 10.0.12 it said for now its not supported to use tomcat i have to install tomcat 10.0.10 so i unistalled tomcat using below command
sudo rm -rf /opt/tomcat
and installed tomcat 10.0.10 by making few changes in above code but when i runned http://127.0.0.1:8080 again the page shown me this


Aditya Kirad
(11 rep)
Oct 15, 2021, 05:06 AM
2
votes
2
answers
14847
views
How to create a shortcut for eclipse
Today i downloaded the latest installer(`eclipse-inst-linux64.tar.gz`) of eclipse from the official website and i installed in my system. now i want to create a shortcut to launch the program. how can i do that ? if i double click on the eclipse file which is selected as the screenshot i am able to...
Today i downloaded the latest installer(
eclipse-inst-linux64.tar.gz
) of eclipse from the official website and i installed in my system. now i want to create a shortcut to launch the program. how can i do that ? if i double click on the eclipse file which is selected as the screenshot i am able to launch the program, someone help me to create a shortcut 
Jaison Joseph
(23 rep)
Aug 25, 2017, 11:06 AM
• Last activity: Jul 30, 2021, 07:52 AM
12
votes
2
answers
6569
views
Retrieve the window name and role
I'm running Eclipse and I detached some of the windows. Now I have 4 windows linked to Eclipse. What I need is to be able to identify each individual window and be able to control it. If I run tools like: `xprop`, `xwininfo`, or `wmctrl -l` I can retrieve the `WM_CLASS` and `WM_NAME` for the main wi...
I'm running Eclipse and I detached some of the windows. Now I have 4 windows linked to Eclipse. What I need is to be able to identify each individual window and be able to control it.
If I run tools like:
xprop
, xwininfo
, or wmctrl -l
I can retrieve the WM_CLASS
and WM_NAME
for the main window but I can't get them for the other 3 child windows.
How can I retrieve the WM_NAME
and WM_ROLE
for all 4 windows?
slybloty
(1318 rep)
Jul 3, 2012, 02:49 PM
• Last activity: Feb 5, 2021, 04:55 AM
47
votes
10
answers
61498
views
How do I add eclipse to my gnome shell favorites?
I run gnome shell 3.6 and Eclipse 4.2. I installed Eclipse manually, in my /opt directory, because the Ubuntu package for Eclipse is very outdated. I've created a .desktop file for it, and placed in in ~/.local/share/applications. It looks like this: [Desktop Entry] Type=Application Name=Eclipse Com...
I run gnome shell 3.6 and Eclipse 4.2. I installed Eclipse manually, in my /opt directory, because the Ubuntu package for Eclipse is very outdated.
I've created a .desktop file for it, and placed in in ~/.local/share/applications. It looks like this:
[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=/opt/eclipse-4.2.1/icon.xpm
Exec=/opt/eclipse-4.2.1/eclipse
Terminal=false
Categories=Development;IDE;Java;
I can run Eclipse from the Activities menu; if I hit the super menu and type in "Eclipse" and run it, it starts just fine, and shows up in my launcher/sidebar/dock/whatever it's called.
But if I right-click on its icon, there is no "Add to favorites" option.
(I notice this is also the case if I run some very old programs, like xeyes and xcalc. it's amazing these are still distributed!)
So what is it about a program that determines whether or not the "Add to favorites" option is available? if I knew and understood that, maybe it'd set me on the right path to fixing this Eclipse problem.
Sean
(888 rep)
Dec 18, 2012, 10:59 PM
• Last activity: Jan 12, 2021, 05:39 AM
1
votes
1
answers
277
views
Debian Mate Desktop Eclipse scoll bar slider button size huge
I am on **Debian** Buster, **Mate Desktop** theme Menta, OpenJdk 11.0.9.1, **eclipse 2020-06**. My scroll bar sliders in eclipse are huge. [![enter image description here][1]][1] I tried resizing them by a custom gtk-3 css file but this did only change the bar itself but not the buttons. *gedit* doe...
I am on **Debian** Buster, **Mate Desktop** theme Menta, OpenJdk 11.0.9.1, **eclipse 2020-06**.
My scroll bar sliders in eclipse are huge.
I tried resizing them by a custom gtk-3 css file but this did only change the bar itself but not the buttons. *gedit* does apply the css settings. See bewlo:
It does not matter if **theming in eclipse** is on or off (I restarted) or the used eclipse theme.
I read about the setting and tried changing


-Dswt.enable.themedScrollBar=false
/ true
in eclipse.ini
, didn't change a thing.
**gtk-3 css**
The ~/.config/gtk-3.0/gtk.css
I tried. Pretty much the default values from GTKTheme
css
scrollbar slider {
/* Size of the slider */
min-width: 6px;
min-height: 6px;
border-radius: 6px;
-GtkRange-slider-width: 6;
-GtkRange-stepper-size: 6;
-GtkRange-stepper-spacing: 0;
-GtkRange-trough-border: 1;
-GtkRange-arrow-displacement-x: 0;
-GtkRange-arrow-displacement-y: 0;
-GtkRange-activate-slider: FALSE;
-GtkRange-trough-side-detrails: FALSE;
}
**gtk-2 gtkrc**
I tried setting ~/.config/gtk-2.0/gtkrc
css
style "scroll"
{
GtkScrollbar::slider-width = 6
}
class "*" style "scroll"
**Side note:** It looks even worse using the dark eclipse theme as the slider colour does not change.
Benjamin Peter
(121 rep)
Jan 7, 2021, 10:40 AM
• Last activity: Jan 7, 2021, 11:28 AM
Showing page 1 of 20 total questions