[1966] in java-interest
Re: mo betta questions
daemon@ATHENA.MIT.EDU (Larry Reu)
Wed Sep 20 17:24:15 1995
Date: Wed, 20 Sep 1995 11:43:41 -0700 (PDT)
From: Larry Reu <larryr@CyberGate.COM>
To: Chuck McManis <cmcmanis@scndprsn.Eng.Sun.COM>
Cc: fgreco@lehman.com, java-interest@java.Eng.Sun.COM
In-Reply-To: <9509191936.AA27799@pepper.Eng.Sun.COM>
> >3. If "java.util" is a package, what is the "java" prefix telling me?
>
> That it is part of the packages that Sun provides. There is no semantic
> beyond this in package names.
>
it is also telling the compiler where to find the classes. i.e.
mycompany.myapp.myclass tells the compiler to find myclass in
a directory <CLASSPATH>/mycompany/myapp/myclass.class
at least this is what I have noticed!
> >6. How can one embed the java interpreter into a C/C++ pgm a la tcl?
> > If this is possible, can you have multiple instances of the interpreter?
>
> This is not currently possible to do. You can however have several
> instances of the interpreter running in different processes.
>
you can also have the main app in Java and let it call out to C code.
Although you can now argue that Java is not embedded! :)
...............larry
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com