Results 1 to 6 of 6
Thread: calling java virtual machine
- 11-29-2008, 07:03 PM #1
- 11-30-2008, 06:04 AM #2
Member
- Join Date
- Nov 2008
- Posts
- 11
- Rep Power
- 0
No sure what you mean...are you trying to call to a class that you haven't included in your coding?
- 11-30-2008, 06:56 AM #3
Member
- Join Date
- Oct 2008
- Posts
- 34
- Rep Power
- 0
many, if I understand what you are trying to say, then no you cannot do that. You are running a program with instructions from the previous compilation, you need to exit and re-compile to make it work. As for calling the JVM to compile a new class problem, I don't know what you are talking about.
- 11-30-2008, 02:56 PM #4
hhhmmm...
Many .... do you mean:
- compile another class that has NOTHING to do with current class that is running or ...
- compile the same class that is running?
For case 1), you probably could (never tried it and never heard it being tried)
For case 2), no you can't.
Luck,
CJSLChris S.
Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.
- 11-30-2008, 04:24 PM #5
Member
- Join Date
- Jul 2008
- Posts
- 68
- Rep Power
- 0
- 12-01-2008, 10:06 PM #6
look let me tell you what i have learned so far... you can use com.sun.tools.javac.main() to call the JAVA VIRTUAL machine...
that is right to compile while you are running a program. not the same program or any that are current running but you can build a interpretor like eclipse or netscape. This is generaly use by programers when you want to try short code.... so you don't compile and recompile a project just build a short program witch compiles automaticly with all of the main class and so an put in place by you.... here are some links related to this:
javaworld.com/javatips/jw-javatip131.html
i've done the program but it's not operational yet, when i'll make it work i'll give you the entire source code so if you may one day need it you can use it...
thank anyway'sLast edited by many; 12-01-2008 at 10:11 PM.
Similar Threads
-
Virtual Machine and multicore system
By haroonob in forum Enterprise JavaBeans (EJB)Replies: 0Last Post: 10-20-2008, 09:31 AM -
Too many virtual Machine
By davantmay in forum Java AppletsReplies: 1Last Post: 07-06-2007, 10:53 PM -
Virtual machine of java.
By Albert in forum Advanced JavaReplies: 1Last Post: 07-05-2007, 08:48 PM -
Virtual Machine To Pda
By Heather in forum Advanced JavaReplies: 2Last Post: 06-30-2007, 03:11 PM -
C# Java Virtual Machine 1.0.1
By levent in forum Java SoftwareReplies: 0Last Post: 05-25-2007, 07:47 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks