| Author |
Message |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Tue 11 Dec 2007, 20:12 Post subject:
Linux Tmxxine Photon Subject description: Beta released |
|
Linux Tmxxine Photon 3.01 Beta
Download
http://www.puppylinux.ca/lobster/photon301.iso
307MB DOWNLOAD
md5sum photon301.iso
c5103aaf91ee8695351a578a48137df9
Programmers iso
Puppy 3.01 retro
c and c++ (3.01 devx)
java jre and sdk
python
netlogo
Minimal changes to Puppy 3.01 retro
Mozilla and Firefox 3 Beta Browser
MUT
Known issues
when first loading
an error about backgrounds comes up
image is stretched
Assembler, C, C++
GNU compilers
Python
Script language
Java
Powerful JDK and JRE 6.3 for running and compiling java applets and classes
Netlogo
AI Logo modeling environment for simulating natural and social phenomena
Photon Latest Programming details
C, C++
Save the following as test.c
If using Geany, set it it to C and test compile first
| Code: | /* Example C program */
int main()
char input_character;
{ int i;
for (i = 0; i < 50000; i++)
{
printf ("%d",i);
printf (" Puppy is Great\n");
}
return 0;
} |
in the same directory
open a terminal (Right click in the open folder/directory with Rox 2.5 /Window/terminal here)
and type:
this will create a runnable file called "test"
the command:
./test
will run it . . .
find a good tutorial eg.
http://members.cox.net/midian/articles/ansic1.htm
Python
open console type "python" - no speech marks
open edit (Geany)
set file type to Python
type in program
eg print 2+3
save file
build and execute or press f5
Java
type and save the following with the name
HelloWorldApp.java
| Code: | /**
* The HelloWorldApp class implements an application that
* simply prints "Hello World!" to standard output.
*/
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); // Display the string.
}
} |
open a terminal (right mouse click) in the same directory you saved
HelloWorldApp.java
and at the prompt type
# javac HelloWorldApp.java
the compiled program is run thus
# java HelloWorldApp
the program cons and outputs:
Hello World!
What I did to install java
set up JRE
downloaded and installed
http://www.murga-linux.com/puppy/viewtopic.php?p=93231#93231
details
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/unix.html#unix-2b
Netlogo is a java jar file
from console run
/usr/local/netlogo-4.0.2/netlogo.sh
_________________ Puppy WIKI
Last edited by Lobster on Wed 12 Dec 2007, 03:28; edited 1 time in total
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Tue 11 Dec 2007, 20:34 Post subject:
|
|
Tmxxine Photon is designed for programmers
Specifically I have a friend who is doing some Java courses
and is running Netlogo for an AI course
I am hoping this will provide the impetus to use a Linux Solution
The Java SDK is large
and so I would recommend 512MB to run this Beta
I am interested in a jar based Java IDE
Any favourites?
C and C++ are suitable for Puppy programming
Java is rather large
There are smaller run times
and some puplet versions such as Teenpup include java
Netlogo is a specialised version of Logo (a Lisp based programming
language widely used in education)
It is famous for using and controlling robot or virtual turtles
Python is a widely used and easy to learn language
In order to ensure as stable an environment as possible
I used the Puppy 3.01 retro as a base
and did not install ezpup or even modify JWM themes
I have included Firefox Beta 3
But Mozilla Seamonkey is the default browser and
runs the Photon web page
Wiki
http://tmxxine.com/wik/wikka.php?wakka=LinuxTmxxinePhoton
I have not included GTKBasic, MurgaLua
and other languages because they are easily installed with .pets
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
raffy
Joined: 25 May 2005 Posts: 4636 Location: Manila
|
Posted: Tue 11 Dec 2007, 21:26 Post subject:
nice |
|
Very nice, Lobster. "Photon" rhymes with "Python" - I like that.
Which gcc is it, the one used with 3.01, or the 2.16 devx?
Maybe your friend can help you, too, extract the kiddie programming tools from here: http://murga-linux.com/puppy/viewtopic.php?t=24424
_________________ Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Tue 11 Dec 2007, 22:20 Post subject:
|
|
Lobster,
I haven't used it myself, but when I was going to do a java subject, a year ago, I was griping that I didn't have tha RAM to use NetBeans as the IDE, and someone suggested I try:
http://www.bluej.org/
|
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6660 Location: lisbon
|
Posted: Tue 11 Dec 2007, 22:27 Post subject:
|
|
OK,
I just checked the requirement to install/run BlueJ. See here:
http://www.bluej.org/help/requirements.html
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Wed 12 Dec 2007, 02:57 Post subject:
Re: nice |
|
| raffy wrote: | Very nice, Lobster. "Photon" rhymes with "Python" - I like that.
|
I will move this Python tutorial I started some time ago (sorry about the ads - so called free hosting)
http://peace.wikia.com/wiki/Python
Any language inspired by Monty Python must be good . . .
Long term tmxxine will be a base for ASQ
http://tmxxine.com/wik/wikka.php?wakka=AsqDetails
| Quote: | | Which gcc is it, the one used with 3.01, or the 2.16 devx? |
3.01
_________________ Puppy WIKI
Last edited by Lobster on Thu 29 May 2008, 13:14; edited 1 time in total
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Wed 12 Dec 2007, 03:01 Post subject:
|
|
I have looked briefly at bluej - will check it out - many thanks
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
|