ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: nullevent <nullevent@rambler.ru>
To: Pavel <community@altlinux.ru>
Subject: Re[2]: [Comm] java?
Date: Sun, 30 May 2004 18:17:36 +0400
Message-ID: <175097988.20040530181736@rambler.ru> (raw)
In-Reply-To: <20040530170336.55d7fde0.panal_@mail.ru>

Hello, Pavel.
 30.05.2004, 21:03 u wrote

>> On Sat, May 29, 2004 at 05:22:32PM +0000, Pavel wrote:
>> > 	Здравствуйте!
>> > 
>> > Скачал шахматы с 
>> > http://chesstraining.sourceforge.net/
>> > 
>> > а в папке кроме файлов *.class и *.java других нет
>> > никаких, также нет и описания типа readme.
>> > Кто-нибудь может подсказать как на ALM 2.2
>> > запустить игру?
>> > 
>> может.
>> 1. на 9-м диске АЛМ есть пакеты jre, их установки будет достаточно
>>    для запуска скомпиленного приложения.
>>    Для компиляции нужно поставить jdk
>> 2. Если нет 9-го диска иди по желанию скачайте и установите
>>   джаву с сайта SUN, пропишите откорректируйте
>>   переменные окружения PATH и CLASSPATH, JAVA_HOME
>> 3. Запускаем шахматы java -jar cvt-1.2.7.jar
>> 

P> Большое спасибо, что прояснили ситуацию!
P> Придется обойтись без шахмат:-)
P> 9-го диска у меня нет, а тянуть по модему 107 MB...

*.java - исходный код java-апплета
 *.class - скомпиленный байт код

 Обычно  апплеты размещаются на страницах, и, соответственно, работают
 через  браузер.  Для  проигрывания  апплета  в  браузере/системе  должна быть
 установлена виртуальная машина java. (jre т.е.) Она весит ~14 метров.
 Далее создать страничку типа
 <html><head>
   <title>Applet</title>
 </head>
 <body>
 <APPLET height=500 width=500 align=center
                   code=applet.class>
 </APPLET>
 </body></html>

 Так что вполне можно обойтись без jdk.
 
 всё.

 P.S.  Между  тэгами  <applet>  еще  можно вставлять <PARAM NAME="..."
 VALUE="...">,  где  name  -  имя  параметра,  value  -  его значение,
 передаваемое  апплету,  но  их список уже нужно смотреть в README, на
 сайте он наверняка есть.


--
bye,
    _   _ mailto:nullevent@rambler.ru,
   / / / /              17:52, 30.05.2004
  /  \/ /
 /_/\__/



  parent reply	other threads:[~2004-05-30 14:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-29 17:22 Pavel
2004-05-29 18:50 ` Pavel Tsybulin
2004-05-30 17:03   ` Pavel
2004-05-30 14:15     ` Re[2]: " "Jury Levykin" 
2004-05-30 23:21       ` Pavel
2004-05-30 14:17     ` nullevent [this message]
2004-05-30 15:14     ` Alexey Matvienko
2004-05-30 15:53     ` Pavel Tsybulin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=175097988.20040530181736@rambler.ru \
    --to=nullevent@rambler.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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