AdaPower Logged in as Guest
Ada Tools and Resources

Ada 95 Reference Manual
Ada Source Code Treasury
Bindings and Packages

Join >
Home >
Articles >
Getting Started >
Ada FAQ >
Source Treasury >
Books & Tutorials >
Packages for Reuse >
Latest Additions >
Ada Projects >
Press Releases >
Ada Audio / Video >
Home Pages >
Links >
Contact >
About >
Login >
Console Hello World for the JVM (David Botton)

This is the classic hello world program written in Ada for the JVM (Java Virtual Machine)
Package Specification
with java.lang.String;

package JMain is
	procedure main(Args : java.lang.String.String_Array);

Package Body

with java.lang.String;
with java.lang.System;

package body JMain is
procedure main(Args : java.lang.String.String_Array) is
begin, "Hello World!");
end main;

end JMain;

(c) 1998-2004 All Rights Reserved David Botton