How to fix this android installation process? - flutter

I have try tp fix by copying jbr folders content into jre but bin folder is not copying at all.
Because another bin folder was there in jre.

Related

is there any way to put a right path on JAVA_HOME?

here the image show my current problem I do my best to modify the path. the path of JAVA_HOME is right but I've been confuse because that is always show up even though that I already modified it .if I try to put the directory path of my SDK it's the same error.
image link:https://i.stack.imgur.com/LeipD.png
Change like this in your Environment Variables.
Following steps solved problem for me
Locate where your Android Studio is installed.
For me C:\Program Files\Android\Android Studio
Check if the jre folder exists, Create a new folder called jre
Copy the contents of the jbr folder and paste them into the jre folder.
Check by running flutter doctor, and Restart IDE.
Thanks: roufy235 {cause}

error in root\workspace\.metadata\.log

I try to run eclipse, but I can not.
The software creates an error in the root\workspace\.metadata\.log folder. But I did not understand anything.
Here is the log file:
Log File
Also, I did not find a file named ".snap" at the address given. I deleted the workspace folder. I even deleted the software and installed it again. But none of them worked.
In the workspace folder there is a folder with the name ".metadata". and in this folder there is a file with the name ".log".
So the actual path will be:
"/root/workspace/.metadata/.log"
In Linux you might need to use ls -la to see the folder ".metadata" and the file ".log".
Check also the file eclipse.ini in the root folder of the Eclipse installation. In this file you could specify the -vm parameter and point it to the JVM dll or "so" files directly.
For example:
-vm
D:\talend\jre1.8.0_91\bin\server\jvm.dll

moving maven .m2 folder

in my Windows 7 i have a folder for maven in C:Users/MyUser/.m2 , i need to move this folder to the E drive , i changed the settings.xml file to
<localRepository>E:/Maven/MavenRepo</localRepository>
,in Eclipse i changed the user's settings for maven to point to the settings.xml file but still downloading the artifacts in the same old folder on the C drive, How i can move that folder?
Can you verify which settings file you changed, the one in c:Users/MyUser/.m2 or the global settings file in maven-installation/conf folder.
I think cannot delete .m2 folder,execute maven command need it.

making a folder visible in eclipse project

I am trying to load tomcat 7 into eclipse using this tutorial.
When I unzipped to the folder associated with the project, the tomcat folder was loaded as a subfolder. I therefore dragged all the folders into the root folder of the new tomcat7 eclipse project. The only folder which eclipse would not move is the bin folder. Eclipse instead gives me a dialog box with the following error message: "The element 'bin' exists in the selected destination. You can either skip the conflicting element, skip all conflicting elements, or cancel the whole operation."
The problem is that there is no bin folder present. Eclipse does not show a bin folder in the tomcat7 project within eclipse. And the windows explorer view of the file system also does not show any folder named bin within the tomcat7 folder in the directory hierarchy associated with the workspace.
I feel that I need the contents of the bin folder in the place where eclipse can see and work with them. Can anyone show me how to move the contents of the bin folder into the place where eclipse will see them? Now, the bin folder is stuck as a subfolder within the tomcat subfolder within the tomcat7 project.
As your default Java Output Folder for the project, it's hidden in the Package Explorer since everything that goes there was either compiled from or copied from a visible Source Folder. Use the Navigator View when working at this low a level instead.

How to fix the Eclipse executable launcher was unable to locate its companion shared library for windows 7?

I am getting the following error, while launching Eclipse:
The eclipse executable launcher was unable to locate its companion shared library.
Previously Eclipse was working fine when I had jre6 installed on my pc. After installing jre7 update 25, I am no longer able to launch Eclipse.
My Eclipse ini-file has these lines:
-startup
plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
How do I fix this error? Any help would be great.
Had similar issue, which was a result of update. Please make sure that names of libraries mentioned in eclipse.ini and the actual names of these files on your disk match exactly.
-startup
plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
Here is the post that I used to fix this issue on my system http://codewithgeeks.blogspot.in/2013/11/fixing-eclipse-executable-launcher-was.html
It worked only after removing the eclipse folder and all related folders like .p2, .eclipse (in my case they are at different location where I have saved eclipse installer) etc. and after re-downloading the eclipse, it worked.
In my case, this error occurred because of windows 7 shortcuts. In windows we create shortcuts on desktop by using right click > send to > desktop. In my pc, there is no option for desktop, but there is one for "documents". I created the shortcuts there and then moved them to the desktop. Executing these shortcuts causes the error. Eclipse works fine when I run it directly from the folder where it is installed. I fixed it by using right click > create shortcut and then moving this shortcut to the desktop.
This is an issue with the 64 bit version of Kepler and windows7 in my case.
I downloaded the 32 bit and it worked immediately.
In my case I have moved plugins folder mistakenly to another folder while taking backup of my unnecessary projects.
Then while I was trying to run the eclipse.exe I was getting the error-
The Eclipse executable launcher was unable to locate its companion
shared library.
I have simply copied the plugins folder to eclipse root directory, and it was working fine for me.
If you have the folders backup in your computer then just copy and paste the folders on eclipse directory, you don't need to reinstall or change the ini file so far I realized.
This happened to me when deleting some Equinox package from my plugins directory, make sure this is not the case.
The reason to that might be the 2 lines in eclipse.ini
--launcher.library
C:\Users\UserName\.p2\pool\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.400.v20160518-1444
for my case the reason was admin privilages so I had to move the folder from the path specified in ini to my eclipse plugins and change path in ini to :
plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.400.v20160518-1444
This worked for me
On the Zipped folder of the ADT you initially downloaded unzip and navigate to:
adt-bundle-windows-x86_64-20140702\eclipse\plugins
Copy all the executable jar files and paste them on the
C:\adt-bundle-windows-x86_64-20140702\adt-bundle-windows-x86_64-20140702\eclipse\plugins
directory (or wherever your adt is located).
Any executable jar files missing in the plugin folder will be added. You should be able to launch eclipse
I encountered the similar problem after installing new software. In my case, the problem was solved by: (1) restoring .p2 subdirectory under my home directory; and (2) editing eclipse.init file to have the updated java directory.
In my case, i had copied a plugins folder into workspace from a collegue. Becaouse it was an unzipped folder, the structure was like 'pluginsfolder inside a plugins folder2 . so make sure that all the plugins are directly located under the toppest plugins folder at the workspace.
In my case eclipse.ini entry for --launcher.library was :
--launcher.library
C:\Users\UserName\.p2\pool\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834
and on my machine 'C:\Users\UserName\.p2\' folder was missing hence installed the eclipse again which created the .p2 folder structure at required location and now I am able to login successfully.
I followed the below steps and it worked for me.
Step1:
Edit eclipse.ini by adding javaw.exe path and remove --launcher.appendVmargs line.
Below shows the original and edited file
Orginal eclipse.ini
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
After editing eclipse.ini:
openFile
-vm
C:/ProgramFiles/Java/javapath/javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.8
Step2:
Copied the org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar to eclipse installation folder .
You can find the .jar location in eclipse.ini
eg : C:\Users\Username.p2\pool\plugins