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
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: Select all
/* 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:
Code: Select all
gcc test.c -o 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: Select all
/**
* 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.
}
}
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/viewto ... 3231#93231
details
http://java.sun.com/docs/books/tutorial ... ml#unix-2b
Netlogo is a java jar file
from console run
/usr/local/netlogo-4.0.2/netlogo.sh