473,407 Members | 2,315 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

S.O.S!!

Hey there.

Sad to say I'm a complete java ignoramus. That's why I have this
problem that I hope someone here can help me with:

I just downloaded 2 zipped archives that apparently contain java files
for an emulator or two which I would REALLY REALLY like to get
running:

1) The "java applet emulator" is described as:
-"...an Analytical Engine emulator which runs as a Java applet within
a Web page. If your browser supports Java, you can run Analytical
Engine simulations with no additional software or installation."

2) The "command-line emulator":
a command-line emulator for The Analytical Engine which you can
download in either ready-to-run object code or source code form, which
runs on any computer with a compatible Java virtual machine
implementation.
Unfortunately the webpage don't give any kind of explanation of what
I'm supposed to do with their content. :o(

All it says is:
- "Source code (.java files) for both the applet and command-line
emulators. Emulator source code is intended for experienced Java
developers, and is utterly unsupported. The program is in the public
domain and you can do anything you like with it, but you're entirely
on your own."
As for the downloaded archives themselves:

The first download is the "sourcecode" download
(http://www.fourmilab.ch/babbage/release/aesource.zip), just
described.
It contains 15 files with the ".java" extension, and 1 file called
"Makefile" (with no extension).

The second download (http://www.fourmilab.ch/babbage/release/aeclass.zip)
is announced as the "Object code (.class files) for the command line
emulator"
It contains 30 files, all with the ".class" extension.
Now, I would be really really glad if someone here can please explain
to me what I should do with these components in order to get the
emulators to run. - Am I supposed to write an html-document for the
"applet"?! And what script should it contain? - And what the frog am I
supposed to do with the .class files?

Please, please, please help.

And thank you SOOO much in advance!
Kind regards
Rasmus Nielsen.
Jul 20 '05 #1
7 1131
ei**********@yahoo.co.uk (Rasmus Nielsen) wrote in message news:<22**************************@posting.google. com>...
Hey there.

Sad to say I'm a complete java ignoramus. That's why I have this
problem that I hope someone here can help me with:

I just downloaded 2 zipped archives that apparently contain java files
for an emulator or two which I would REALLY REALLY like to get
running:

1) The "java applet emulator" is described as:
-"...an Analytical Engine emulator which runs as a Java applet within
a Web page. If your browser supports Java, you can run Analytical
Engine simulations with no additional software or installation."

2) The "command-line emulator":
a command-line emulator for The Analytical Engine which you can
download in either ready-to-run object code or source code form, which
runs on any computer with a compatible Java virtual machine
implementation.
Unfortunately the webpage don't give any kind of explanation of what
I'm supposed to do with their content. :o(

All it says is:
- "Source code (.java files) for both the applet and command-line
emulators. Emulator source code is intended for experienced Java
developers, and is utterly unsupported. The program is in the public
domain and you can do anything you like with it, but you're entirely
on your own."
As for the downloaded archives themselves:

The first download is the "sourcecode" download
(http://www.fourmilab.ch/babbage/release/aesource.zip), just
described.
It contains 15 files with the ".java" extension, and 1 file called
"Makefile" (with no extension).

The second download (http://www.fourmilab.ch/babbage/release/aeclass.zip)
is announced as the "Object code (.class files) for the command line
emulator"
It contains 30 files, all with the ".class" extension.
Now, I would be really really glad if someone here can please explain
to me what I should do with these components in order to get the
emulators to run. - Am I supposed to write an html-document for the
"applet"?! And what script should it contain? - And what the frog am I
supposed to do with the .class files?

Please, please, please help.

And thank you SOOO much in advance!
Kind regards
Rasmus Nielsen.


Emulate what?
Jul 20 '05 #2
..class files can be executed by a Java Virtual Machine (JVM)
which you need to have installed on your computer.
Type 'java' on the command line to find out.
If you don't have it - go to java.sun.com and
download Java2 JRE ver 1.4.2 for your system (Win, Mac, etc).
Install it (this process is automatic).

Now you can play with the emulator.
I've peeked at the code and found that
eas.class is the entry point of the application.
You have to:
- Open a command prompt.
- Change the current working directory
to the location where you have put
the .class files.
- type 'java -cp . eas' (that dot is important, so are spaces) and
press enter

Adam
Jul 20 '05 #3
JRS: In article <22**************************@posting.google.com >, seen
in news:comp.lang.javascript, Rasmus Nielsen <ei**********@yahoo.co.uk>
posted at Thu, 26 Feb 2004 16:09:37 :-

Sad to say I'm a complete java ignoramus. That's why I have this
problem that I hope someone here can help me with:


Firstly, the Subject line of a news article should describe the topic of
the article, not the state of the author. You should find that stated
either in the newsgroup FAQ or in material that it links to. You should
always seek and read a newsgroup FAQ before posting to the group, unless
you have been reading the group for some reasonable while; preferably
both.

Secondly, the first thing that a Java or Javascript programmer should be
taught is that they are not the same language; in particular, they have
different newsgroups. The comp.lang.javascript FAQ is clear enough on
this point; the comp.lang.java[.*] FAQ[s], if extant, ought to be
equally clear.

About the only question positively on-topic for both groups is "why do
people not understand that?"

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Jul 20 '05 #4
Ivo
"Dr John Stockton" <sp**@merlyn.demon.co.uk> wrote
(...) different newsgroups. The comp.lang.javascript FAQ is clear enough
on this point; the comp.lang.java[.*] FAQ[s], if extant, ought to be
equally clear.
About the only question positively on-topic for both groups is "why do
people not understand that?"

© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk
Usenet continues to attract new users.
Just a guess. (And we may be both thankful and proud that it does.)
They may even become the majority one day. And change the rules.
Just a thought.
Ivo

Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang.javascript <URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources. <URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items,

links.

Jul 20 '05 #5
Thank you, Adam, and Fish, for your great help! Now I can manage.
Thanx again. :o)

Kind regards.
-P.S. Dr Stockton: Just out of curiosity: Were your remarks somehow
supposed to be helpful?! Or is it a territorial thing?
Jul 20 '05 #6
JRS: In article <22**************************@posting.google.com >, seen
in news:comp.lang.javascript, Rasmus Nielsen <ei**********@yahoo.co.uk>
posted at Sat, 28 Feb 2004 13:30:22 :-
-P.S. Dr Stockton: Just out of curiosity: Were your remarks somehow
supposed to be helpful?! Or is it a territorial thing?

ISTM useful that you should realise your stupidity; and others are
likely to learn from the example provided.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME ©
Web <URL:http://www.uwasa.fi/~ts/http/tsfaq.html> -> Timo Salmi: Usenet Q&A.
Web <URL:http://www.merlyn.demon.co.uk/news-use.htm> : about usage of News.
No Encoding. Quotes before replies. Snip well. Write clearly. Don't Mail News.
Jul 20 '05 #7
Dr John Stockton <sp**@merlyn.demon.co.uk> wrote in message news:<zm**************@merlyn.demon.co.uk>...
[snipped...]
ISTM useful that you should realise your stupidity; and others are
likely to learn from the example provided.

The confusion between Java and JavaScript stretches back to Netscape's
decision to rename LiveScript. It is tiresome to both parties to deal
with misplaced postings, but in this case pointing the finger of blame
at the novice is probably not so productive.

It is natural to assume that two entities within the same 'field' which
share a similar name stem are related. C and C++. Coke and Diet-Coke.
MacBurger, MacFries, MacEverything... This is an often used naming
convention - particularly useful in branding. With Java and JavaScript
you have the added problem that they both came to prominence through the
same field - dynamic web content - and at the same time. The seeds of
confusion were sown such that even if the original poster in this thread
was to do extensive searches on Google, the odds are low that they would
run into a site which *prominently* explains that Java != JavaScript.
(Indeed, even your own JavaScript 'FAQ' doesn't appear to explain the
difference! (?))

Perhaps if the term 'JavaScript' was phased out (except them specifically
refering to Netscape's implementation) in favour of 'ECMAScript', this
might in time reduce the level of confusion? Until then, Java and
JavaScript programmers will just have to continue to *politely* guide
misdirected posters to the right group...
-FISH- ><>
Jul 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: William C. White | last post by:
Does anyone know of a way to use PHP /w Authorize.net AIM without using cURL? Our website is hosted on a shared drive and the webhost company doesn't installed additional software (such as cURL)...
2
by: Albert Ahtenberg | last post by:
Hello, I don't know if it is only me but I was sure that header("Location:url") redirects the browser instantly to URL, or at least stops the execution of the code. But appearantely it continues...
3
by: James | last post by:
Hi, I have a form with 2 fields. 'A' 'B' The user completes one of the fields and the form is submitted. On the results page I want to run a query, but this will change subject to which...
0
by: Ollivier Robert | last post by:
Hello, I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9 system. The link succeeds but everytime I try to run php, I get a SEGV from inside the libcnltsh.so library. ...
1
by: Richard Galli | last post by:
I want viewers to compare state laws on a single subject. Imagine a three-column table with a drop-down box on the top. A viewer selects a state from the list, and that state's text fills the...
4
by: Albert Ahtenberg | last post by:
Hello, I have two questions. 1. When the user presses the back button and returns to a form he filled the form is reseted. How do I leave there the values he inserted? 2. When the...
1
by: inderjit S Gabrie | last post by:
Hi all Here is the scenerio ...is it possibly to do this... i am getting valid course dates output on to a web which i have designed ....all is okay so far , look at the following web url ...
2
by: Jack | last post by:
Hi All, What is the PHP equivilent of Oracle bind variables in a SQL statement, e.g. select x from y where z=:parameter Which in asp/jsp would be followed by some statements to bind a value...
3
by: Sandwick | last post by:
I am trying to change the size of a drawing so they are all 3x3. the script below is what i was trying to use to cut it in half ... I get errors. I can display the normal picture but not the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.