Cygwin[DSI XDA] kitchen problem - Android Q&A, Help & Troubleshooting

Hi devs
+++++++
my problem is due to a small fault
I installed cygwin before java jdk and now the kitchen says
"The app ''java'' is not installed"
i trid to uninstal cygwin
i even format my pc but it still show the same message
WHAT THE HELL SHOULD I DOOOOOOOOOOO ???
Envoyé de mon U8860 en utilisant Tapatalk

What does it say when you enter PATH in cmd? Mine is below, you want the bold part which you can add if it's not there. To test java, do this java -version
C:\Apps>path
PATH=C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32
\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jre7\bin;C:\Apps\phone\tool
s;C:\Program Files (x86)\IsoBuster;C:\Program Files\SourceGear\Common\DiffMerge\
Code:
C:\Apps>java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)

askpcguy said:
What does it say when you enter PATH in cmd? Mine is below, you want the bold part which you can add if it's not there. To test java, do this java -version
C:\Apps>path
PATH=C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32
\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jre7\bin;C:\Apps\phone\tool
s;C:\Program Files (x86)\IsoBuster;C:\Program Files\SourceGear\Common\DiffMerge\
Code:
C:\Apps>java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
Click to expand...
Click to collapse
Sorry for taking too long to reply
I just copied java.exe to cygwin directory and it worked
Anyway
Thanks for your help
Sent from my U8860 using XDA Free mobile app

Related

[Q]Flashtool in Ubuntu

Hi there,
Has anyone got the x10 flashtool working in Ubuntu yet? it's not a problem because I can just switch to Windows if I need it but it would make my life slightly easier haha.
Install Java and run ./X10FlashTool as root, or type java -jar x10flasher.jar.
Thank you for that
strange dont work for me.
Flashtool works on ubuntu with exception of flashing.... as flashing is dependent on USBFLASH.DLL
rooting and xrecovery installation works fine.
tried and tested many times.
install jre on your machine from synaptic or add remove programs.
then on the folder where flashtool is stored
java -jar X10flasher.jar works fine.
If you have to have a windows os on another os...
http://forum.xda-developers.com/showthread.php?p=13652740#post13652740
not working for me
Hi, i've tried the command java -jar x10flasher.jar and it outputs the following
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder
at gui.XMLFile.<init>(XMLFile.java:22)
at org.lang.Language.Init(Language.java:32)
at gui.FlasherGUI.main(FlasherGUI.java:144)
Caused by: java.lang.ClassNotFoundException: org.jdom.input.SAXBuilder
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 3 more
i have the latest java jre installed.
i know a good bit about linux an know how to exec a java program from a shell/cmdline i tryed sudo java -jar x10flasher.jar on
cent OS 5.4 5.5 6.0
ubuntu 10 10.04 11.04
CrunchBang 10 Statler
also tryed
gentoo 11 -_O
on each of the's systems i installed JDK sun java an JER oracle java and tested both version
with no luck i have jdownloader runin on two server for emm
media servers use heh anyway im not sure why its not workin but
linux an java has always had it's problems

Cannot install ClockworkMod Recovery

Installing a custom recovery on Galaxy S II
Download codeworkx's ClockworkMod Recovery, and the Heimdall Suite:
codeworkx's ClockworkMod Recovery: download
md5: 364315cb9a499d50638d05b93bb44422
Windows:
Heimdall Suite 1.4RC1: download
NOTE: The Heimdall Suite requires the Microsoft Visual C++ 2010 Redistributable Package to be installed on the computer, which can be downloaded here.
Release Candidate (RC) versions may require the Debug Visual C++ 2010 DLLs which Microsoft does not offer for redistribution or download
Power off the Galaxy S II and connect the USB adapter to the computer but not to the Galaxy S II.
Boot the Galaxy S II into download mode by holding down Volume Down, Home & Power while connecting via USB.
Windows only:
Run the included zadig.exe in the drivers folder of the Heimdall Suite.
Choose Options » List All Devices from the menu.
Select Samsung USB Composite Device or Gadget Serial or Device Name from the drop down menu.
Click Install Driver.
NOTE: A prompt may appear warning that the installer is unable to verify the publisher of the driver, ignore it and select "Install this driver anyway."
Untar codeworkx's ClockworkMod Recovery into the Heimdall directory.
On the computer, open a terminal and run the following command from the Heimdall directory:
heimdall flash --kernel zImage
A blue transfer bar will appear on the device showing the recovery being transferred. Once completed, the device will reboot automatically.
The Galaxy S II now has ClockworkMod Recovery installed. Continue to the next section.
Click to expand...
Click to collapse
Okay, so I downloaded the ClockworkMod Recovery and the heimdall suite, and I unzipped them both. It took me a while to get the step with the Zadig.exe working on Windows 8, because it doesn't allow unsigned drivers, but I got that working. When I tried to do the "heimdall flash --kernel zImage" bit, I get an error saying msvcp100d.dll cannot be found. Now I checked in Programs & Features, and it says that I have Microsoft Visual C++ 2005 Redistributable (like 3 times), Microsoft Visual C++ 2005 Redistributable (x64), Microsoft Visual C++ 2008 Redistributable x64 9.0.xxxxx, Microsoft Visual C++ 2008 Redistributable x64 9.0.xxxxx, Microsoft Visual C++ 2008 Redistributable x86 9.0.xxxxx, Microsoft Visual C++ 2010 Redistributable x64 10.0.40219, and Microsoft Visual C++ 2010 Redistributable x86 10.0.40219.
So I decided to try and get a msvcp100d.dll off the net, I put that in the System32 and in the directory of heimdall.exe and it still did nothing differently.
Now that should be enough? All it needs is the Visual C++ 2010 redistributable.. right?
Though it does say this "Release Candidate (RC) versions may require the Debug Visual C++ 2010 DLLs which Microsoft does not offer for redistribution or download"
Now.. what can I do? It shouldn't be this hard should it?
I've also tried this on 2 other computers too, 1 of them running Windows 8 and another running Windows 7. Same thing.
hxc_pokecore said:
Okay, so I downloaded the ClockworkMod Recovery and the heimdall suite, and I unzipped them both. It took me a while to get the step with the Zadig.exe working on Windows 8, because it doesn't allow unsigned drivers, but I got that working. When I tried to do the "heimdall flash --kernel zImage" bit, I get an error saying msvcp100d.dll cannot be found. Now I checked in Programs & Features, and it says that I have Microsoft Visual C++ 2005 Redistributable (like 3 times), Microsoft Visual C++ 2005 Redistributable (x64), Microsoft Visual C++ 2008 Redistributable x64 9.0.xxxxx, Microsoft Visual C++ 2008 Redistributable x64 9.0.xxxxx, Microsoft Visual C++ 2008 Redistributable x86 9.0.xxxxx, Microsoft Visual C++ 2010 Redistributable x64 10.0.40219, and Microsoft Visual C++ 2010 Redistributable x86 10.0.40219.
So I decided to try and get a msvcp100d.dll off the net, I put that in the System32 and in the directory of heimdall.exe and it still did nothing differently.
Now that should be enough? All it needs is the Visual C++ 2010 redistributable.. right?
Though it does say this "Release Candidate (RC) versions may require the Debug Visual C++ 2010 DLLs which Microsoft does not offer for redistribution or download"
Now.. what can I do? It shouldn't be this hard should it?
I've also tried this on 2 other computers too, 1 of them running Windows 8 and another running Windows 7. Same thing.
Click to expand...
Click to collapse
1. Wrong thread
2. USE DAT SEARCH BUTTON!
Sent from my JellyBam'ed Galaxy SII using Tapatalk 2
Are you using a apple running mac computer or windows pc ?
I think it's because heimdall binary has been compiled with debugging option, so it is looking for "msvcp100d.dll" (look at the "d" at the end of the name) that is not available in the Visual C++ 2010 Redistributable Package...
I have the same problem and I am in Windows 64 bit...
Now I am trying to flash from a live ubuntu...
edited:
in live Ubuntu desktop 12.10 32bit works
Didn't find anything with a search.
Cosmic Blue, I stated twice that I was using Windows.
And that's a pain in the ass, have to use Ubuntu just to flash. Hopefully I still have an ISO for it somewhere >_>
In case anyone was wondering, I ended up using Odin and it worked after my second try.
Couldn't make it work on Ubuntu with Heimdall.

JRE install on android

how to instal jre on andriod devices.
i use android terminal command.
its only support linux andriod comand. i need java jar command
plz help me

[APKMULTITOOL] Error when signing (sign apk with android market 13 & 7 zip, sign, in)

[APKMULTITOOL] Error when signing (sign apk with android market 13 & 7 zip, sign, in)
Hello folks, I have stumbled upon a small problem using APKMultiTool ...
When I try to sign my apk (It's a unity apk meaning I only edited 1 of the dll files.) It fails.
The error it gives me, even in log (26) is useless.
Code:
--------------------------------------------------------------------------
|26-07-2018 -- 13:55:05,73|
--------------------------------------------------------------------------
java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
Press any key to continue . . .
I do have the environment path for system, directed to my JDK java path.
The APKMultiTool is opened with Administrator and it's at root(c:\APKMultiTool) <
Heres the code it gives me at the end of option 7: (zip, sign & install)
Code:
Compressing res\layout\com_facebook_placepickerfragment_list_row.xml
Compressing res\layout\com_facebook_search_bar_layout.xml
Compressing res\layout\com_facebook_tooltip_bubble.xml
Compressing res\layout\com_facebook_usersettingsfragment.xml
Everything is Ok
Signing Apk
Usage: signapk [-w] publickey.x509[.pem] privatekey.pk8 input.jar output.jar
"An Error Occurred, Please Check The Log (option 26)"
The error afterwards in the log file and when using 26, is still the same.
Now I'm going to just try to sign the unsigned apk. First the one that was just zipped.
I do this with option 13: Sign apk with android market
Code:
Please make your decision:13
*Notice this option requires you to have the Java JDK installed before this option will function*
*Notice you need to go into your Environment Variables and set the path to your JAVA_HOME*
*For example define it as C:\Program Files\Java\jdk1.6.0_43 as a system variables slot not the User Variables*
Press any key to continue . . .
Signing Apk
Only one alias can be specified
Please type jarsigner -help for usage
"An Error Occurred, Please Check The Log (option 26)"
I am unable to type jarsigner -help, in CMD it does not exist as a command, and in APKMT it closes the prompt. The log file and 26 gives me the same error text so far, meaning it was not even updated.
(Note: I open ALL prompts as Administator, also APKMT)
I am at a complete loss...
Would be really grateful for input :3 thanks a lot.
-EDIT-
Am unable to install unsigned apk on rooted bluestacks 3n device. :3
... I found out that if I used the new tool
https://forum.xda-developers.com/an...tool-apk-easy-tool-v1-02-windows-gui-t3333960
APK Easy Tool, everything became more organized and much easier to work with. I got it working and are happy to say that my first mod was succesful, yay.
Happy modding everyone
For reference, the apk I modded was Galactic Rush for Android

Java on RemixOS (Live)

Hello forum
MY idea is that after installing an Android-terminal (like e.g. jackpal.androidterm_72.apk) it should be possible to check if Java is installed on RemixOS...
[email protected]_x86_64: / $ java
/system/bin/sh: java: not found
Question:
It seams that RemixOS does not contain Java... What's the best approach to install Java on RemixOS?
Thank you very much for any feedback!
Joe

Categories

Resources