Aplication java is not installed?? :S - GT540 Optimus General

I have installed Cygwin and packages and I have put kitchen in C:\cygwin\home\username
And when I launch cygwin I type this:
cd kichen (that works)
./menu (here i get error. It says The aplication 'java' is not installed. The kitchen will not function properly without it, etc...)
What to do??
P.S. Java JDK and JRE is installed on my PC

droid000 said:
I have installed Cygwin and packages and I have put kitchen in C:\cygwin\home\username
And when I launch cygwin I type this:
cd kichen (that works)
./menu (here i get error. It says The aplication 'java' is not installed. The kitchen will not function properly without it, etc...)
What to do??
P.S. Java JDK and JRE is installed on my PC
Click to expand...
Click to collapse
I'm not that familiar with Cygwin and kitchen but maybe 'sudo apt-get install java' works?
Sent from my GT540 using XDA App

jhonnyx1000 said:
I'm not that familiar with Cygwin and kitchen but maybe 'sudo apt-get install java' works?
Sent from my GT540 using XDA App
Click to expand...
Click to collapse
It says: bash: sudo: command not found

Do 'su', then 'apt-get install java'.
Sent from my GT540 using XDA App

jhonnyx1000 said:
Do 'su', then 'apt-get install java'.
Sent from my GT540 using XDA App
Click to expand...
Click to collapse
when I type 'su' i get: user root does not exist
when I type 'apt-get install java' i get: bash: apt-get: command not found

I think those commands are not available or are not in PATH. Is the environment linked to the computer's operating system, meaning Do you have access to your computer's files from Cygwin?
Sent from my GT540 using XDA App

This is in my path:
C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\android-sdk-windows\tools
I don't have access to my computer files from cygwin

droid000 said:
This is in my path:
C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\android-sdk-windows\tools
I don't have access to my computer files from cygwin
Click to expand...
Click to collapse
I found http://forum.xda-developers.com/showpost.php?p=5626300&postcount=3 (I don't know if you're that)
It shows how to use Kitchen with Cygwin.
Sent from my GT540 using XDA App

Nope, still the same

im working on a cygwin auto installer with java so keep your eye out

eoghan2t7 said:
im working on a cygwin auto installer with java so keep your eye out
Click to expand...
Click to collapse
Nice, notify us when done

Still not ready yet?

Related

ADB in Win 7

ADB was working for awhile then quit.
Can someone please help me?
In command prompt it says "ADB is not an internal or external command, operable program or batch file"
Do you install the Sync software?
laufine said:
Do you install the Sync software?
Click to expand...
Click to collapse
Yes, I've tried it with and without.
I recently deleted the Sync, should I reinstall it?
I'll post the drivers. Here is the link.
http://www.megaupload.com/?d=PU08Q26S
You can try manual install the drivers.
Hero's Hero said:
ADB was working for awhile then quit.
Can someone please help me?
In command prompt it says "ADB is not an internal or external command, operable program or batch file"
Click to expand...
Click to collapse
You have to either put it in your path, or cd to the directory where adb is contained.
Example:
cd \android-sdk-windows\tools
Then run your adb commands. That error message you're getting is because the OS doesn't know the adb executable exists.
smw6180 said:
You have to either put it in your path, or cd to the directory where adb is contained.
Example:
cd \android-sdk-windows\tools
Then run your adb commands. That error message you're getting is because the OS doesn't know the adb executable exists.
Click to expand...
Click to collapse
i was just about to type this up then saw this as the last post. Good work man
laufine said:
I'll post the drivers. Here is the link.
http://www.megaupload.com/?d=PU08Q26S
You can try manual install the drivers.
Click to expand...
Click to collapse
I have all the drivers
smw6180 said:
You have to either put it in your path, or cd to the directory where adb is contained.
Example:
cd \android-sdk-windows\tools
Then run your adb commands. That error message you're getting is because the OS doesn't know the adb executable exists.
Click to expand...
Click to collapse
I have them in the path, but no beauno
Hero's Hero said:
I have them in the path, but no beauno
Click to expand...
Click to collapse
Where is your SDK installed to?
DevinXtreme said:
Where is your SDK installed to?
Click to expand...
Click to collapse
It's in C:/
Hero's Hero said:
It's in C:/
Click to expand...
Click to collapse
And you've tried running this before any adb commands, right?
Code:
cd C:\android-sdk-windows*\tools
*Or whatever you named that folder
I've Had this issue. I Had to un-install the sync And sdk. Then install them right back on lol.Reloaded the vista drivers then Im back Tim. That is if its a Driver issue
-------------------------------------
Sent via the XDA Tapatalk App
Do you still need help with this? I can help you out
regaw_leinad said:
Do you still need help with this? I can help you out
Click to expand...
Click to collapse
Yes I do.
Would really appreciate it.
It seems you're on your way to receiving help. However, if you're still in limbo, locate your android folder or adb executable, right click, copy the location, and paste it into a follow-up reply. This is with respect to the diagnosis process.
Either way, I hope you're headed in the right direction to solve your slight dilemma.

Newbie problems with SDK

Ok im new to this and I am haveing problems with ADK. I run XP. when i open ADK setup.exe it opens a cmd prompt. I can not type anything in this cmd prompt. Is this the wrong prompt or if it is right why can't I type in it. really driveing me nuts. if I can't get this to work I can't flash the custom ROM I want. PLEASE HELP.
ADK or SDK?
Sent from my Eris using XDA App
zach.xtr said:
ADK or SDK?
Sent from my Eris using XDA App
Click to expand...
Click to collapse
SDK sorry. moving to fast
I suggest doing a forum wide search on "sdk xp issue" or just "sdk xp", should find a bit to try. I use windows 7 so am not of much help. Good luck
Sent from my Eris using XDA App
I believe the command window you see appearing when you run the SDK "setup.exe" is an artifact of how the setup.exe program was compiled and linked. It is NOT the window you are supposed to be typing into, and it is normal for it to be unresponsive.
If you want a command window, complete the SDK setup instructions from whatever guide you are using, and then
Click on the Windows Start button
Select "Run"
Type "cmd" in that box and hit return
Up pops a command window; you can take it from there. If you have never used a command window before, you probably should do some reading to find out what they are about and the most commonly used commands (CD, MKDIR, PATH, DIR, etc)
bftb0
Ok got the cmd thing but the drivers I dowloaded won't let my computer see my phone. the driver it keeps defaulting to is My HTC

How to split boot.img using Terminal Emulator on HD2?

Anyone knows how to split a boot.img file using Terminal Emulator on HD2?
There is a "split_bootimg.pl" script in the forum and wiki page but whenever I run this on Terminal Emulator it gives me either "permission denied" or "not found" error... Changing permissions for the files also does not help.
Are you using it with superuser permission?
try :
sudo split .....
or this one:
su *hit enter*
split ....
Marvlesz said:
Are you using it with superuser permission?
try :
sudo split .....
or this one:
su *hit enter*
split ....
Click to expand...
Click to collapse
Tried both but doesn't work.. first one says not found... second one still give permission denied
Here's what I do:
1) Copy boot.img and split_bootimg.pl into a temp folder
2) Enter su (Gives me Terminal Emulator has been granted super user access...)
3) cd /temp folder
4) enter "./split_bootimg.pl boot.img"
5) Gives error "split_bootimg.pl: permission denied"
Go to superuser, and make sure that terminal is allowed.
Marvlesz said:
Go to superuser, and make sure that terminal is allowed.
Click to expand...
Click to collapse
Yes. Terminal already allowed.
Sent from my HTC Desire using XDA App
boonbing said:
Yes. Terminal already allowed.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
do you have the perl file?
Marvlesz said:
do you have the perl file?
Click to expand...
Click to collapse
Sorry I am not sure which perl file you're referring to... can show me the file?
Sent from my HTC Desire using XDA App
Go to superuser, and make sure that terminal is allowed.
...
boonbing said:
Sorry I am not sure which perl file you're referring to... can show me the file?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Sure, it is in the attachments.. It is (supposedly) the script that allows splitting .
Rename split_bootimg.pl.zip to split_bootimg.pl (remove .zip)
dxjwtjy said:
Go to superuser, and make sure that terminal is allowed.
...
Click to expand...
Click to collapse
He already did, check the previous posts.

(Working) Ubuntu on A500

Maybe you've heard of this app? https://market.android.com/details?id=com.galoula.LinuxInstall
Note: You need to be rooted for this to work.
I've just installed and run it on my a500 (After a full backup through CWM of course). In settings, I set it to install Ubuntu Maverick Meerkat. It installed fine, although you have to go through some trial and error with the settings panel:
Loop file must be "/data/local/tmp/Linux.loop"
"Bind Android" must be enabled
"Allow write on /system" must be enabled!
Linux is activated through a terminal by typing "linuxchroot". Here is an extract from the terminal. (I'll upload screenshots when I find a working program.)
Code:
#linuxchroot
I: Mounting device for ubuntu maverick...
I: Entering chroot...
I: Executing /etc/init.android/rc_enter.sh
/etc/init.android/rc_enter.sh: 2: /etc/init.d/hostname.sh: not found
[email protected]:/# cat /etc/issue
Ubuntu 10.10 \n \l
[email protected]:/# apt-get install python
Reading package lists... Done
Building dependency tree... Done
python is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[email protected]:/# python
Python 2.6.6 (r266:84292, Sep 16 2010, 14:12:30)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 3+7
10
>>> exit()
[email protected]:/#
I'm running a stock 4.010.13_COM_GEN2 rom.
I'm working my way around the console now. As you can see, apt-get and python work. I just need to figure out how (if it's possible) to install gnome onto this installation.
Update:
So it turns out "add-apt-repository" isn't installed by default in the usual place. Or the shortcut doesn't work. Either way, I found that the /usr/bin directory contains all the required files. Since this linux seems to log you in directly into root, which might not have well-made shortcuts, you cannot access the applications normally. I cd'd inbto /usr/bin and add-apt-repository works. Now to see if usr can be the default login.
Alright. Forget about trying to get a GUI working on this type of linux. Nvidia's Tegra drivers for Xorg are MIA.
Getting the following:
/system/xbin/linuxchroot.sh: UID: readonly variable
Any thoughts?
Sent from my MB860 using xda premium
just_mike said:
Getting the following:
/system/xbin/linuxchroot.sh: UID: readonly variable
Any thoughts?
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
When do you get the message? Right after you type "linuxchroot"? If so, try typing su then hitting enter; and then typing "linuxchroot"
Same thing happens, will post over in the main thread? Thanks
Sent from my MB860 using xda premium
If you want a working guide with all the necessary files there is an app in the market.
For Ubuntu:
https://market.android.com/details?id=com.appbuilder.u14410p30729
Or for backtrack:
https://market.android.com/details?id=com.appbuilder.u14410p30729
Both work on the iconia. The only fiddling I had to do was change a CD command from the guides suggested command to CD /mnt/external_sdcard. I am able to boot both from my iconia .
profclean2000 said:
If you want a working guide with all the necessary files there is an app in the market.
For Ubuntu:
https://market.android.com/details?id=com.appbuilder.u14410p30729
Or for backtrack:
https://market.android.com/details?id=com.appbuilder.u14410p30729
Both work on the iconia. The only fiddling I had to do was change a CD command from the guides suggested command to CD /mnt/external_sdcard. I am able to boot both from my iconia .
Click to expand...
Click to collapse
I cant load it in the iconia
FearL0rd said:
I cant load it in the iconia
Click to expand...
Click to collapse
Where are you stuck? Maybe I can help.
GNOME
Zen_Jackal said:
I just need to figure out how (if it's possible) to install gnome onto this installation.
Click to expand...
Click to collapse
Idea: Install GNOME and then a VNC client and connect.
I'll try it later. Will post my conclusions/steps taken/results here.
-Cameron
Zen_Jackal said:
Alright. Forget about trying to get a GUI working on this type of linux. Nvidia's Tegra drivers for Xorg are MIA.
Click to expand...
Click to collapse
http://developer.nvidia.com/linux-tegra
Possibly this could help??
You cannot run Xorg with Tegra 2 drivers when your GPU is already in use by Android. Either you have to run some sort of a virtual Xorg driver and use VNC to connect to the Linux, or you have to use native Linux and scrap Android.
Connecting via VNC works just fine, I'm doing it all the time... Just don't try running a heavyweight like GNOME or KDE, use something like LXDE (looks ok, but it's a lot faster!). There are plenty of tutorials on how to set this up on the internet.

How to extract osh.img (webtop)

Hello i have a question about webtop.img.
I want to explore some files. But I cant extract the .img over Winrar and unyaffs... I hope someone can help me or to a link that can guide me =)
here is the webtop.img : https://docs.google.com/open?id=0BwFKkkNgimOVZlkwR2FueHgzVG8
I'm presuming your on windows. Look for an app called ext2explore I think its called. I've used it to browse the osh image before.
Any app that can browse Linux partitions should do it.
Edit: or an app called explore2fs should work
Sent from my MB860 using xda app-developers app
Bert.C said:
I'm presuming your on windows. Look for an app called ext2explore I think its called. I've used it to browse the osh image before.
Any app that can browse Linux partitions should do it.
Edit: or an app called explore2fs should work
Sent from my MB860 using xda app-developers app
Click to expand...
Click to collapse
Thanks i am gonna test it =)
Edit: tested it i can explorer the files but i cant extract it somehow.. The programm just freeze.
Try this
Hai_Duong said:
Hello i have a question about webtop.img.
I want to explore some files. But I cant extract the .img over Winrar and unyaffs... I hope someone can help me or to a link that can guide me =)
here is the webtop.img : https://docs.google.com/open?id=0BwFKkkNgimOVZlkwR2FueHgzVG8
Click to expand...
Click to collapse
I recommand install Ubuntu on your computer.
If your computer os is part of linux, try this.
Place osh.img to "/home/(account)"
Open terminal. And type this commands
$cd ~
$mkdir tmp
$sudo mount -rw osh.img tmp
After finish edit,
$cd ~
$umount osh.img
qkdxorjs1002 said:
I recommand install Ubuntu on your computer.
If your computer os is part of linux, try this.
Place osh.img to "/home/(account)"
Open terminal. And type this commands
$cd ~
$mkdir tmp
$sudo mount -rw osh.img tmp
After finish edit,
$cd ~
$umount osh.img
Click to expand...
Click to collapse
Thx for the help. I am asking why is it not possible to use osh.img (webtop) from bionic(Maverick) or razer(natty whale) to use it for our atrix? We just mount it on our sdcard-ext like webtop2sd. I want to find out why it isnt possible because jaunty is not bad but to old for newer software.
Here are the files i use:
https://docs.google.com/folder/d/0BwFKkkNgimOVdHFPclRnU2V6QTg/edit

Categories

Resources