ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm]  Android Studio
@ 2015-08-25 10:53 Occisor
    0 siblings, 1 reply; 2+ messages in thread
From: Occisor @ 2015-08-25 10:53 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Не получается запустить, при запуске выдает "'tools.jar' seems to be not 
in Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE."
Пробовал добавлять в /etc/environment строку 
JAVA_HOME=/usr/lib/jvm/jre-1.7.0
А так же запускать таким образом JAVA_HOME=/usr/lib/jvm/jre-1.7.0 sh 
studio.sh
Не помогает, пишет туже ошибку. Или нужно сделать что-то еще?

$ java -version
java version "1.7.0_09-icedtea"
OpenJDK Runtime Environment (ALTLinux-alt1_2.3.8.0jpp7-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Android Studio
  @ 2015-08-25 11:14   ` Occisor
  0 siblings, 0 replies; 2+ messages in thread
From: Occisor @ 2015-08-25 11:14 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Да, точно, установка java-1.7.0-openjdk-devel помогла.

25.08.2015 20:04, Mikhail A. Pokidko пишет:
> JDK-то стоит?
>
> Как хак - скопировать tools.jar из %JAVA_HOME/lib в (Android Studio
> Root)/lib
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-25 11:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-25 10:53 [Comm] Android Studio Occisor
2015-08-25 11:14   ` Occisor

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git