• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need Help Abput Processes

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello.
as most of you know, Runtime Class has provided methods for running processes. actually i want to complie a java program using existing java program, means just provide a string of Source file, after running i get compiled file.
problem is that i can run JAVAC.EXE but i can not provide for it argument as it wants. ( i have done this for many other applications and they are running 100% fine, My Problem is only in Running Javac).
please help me to resolve it.
Thanks in advance.
 
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i can run JAVAC.EXE but i can not provide for it argument as it wants.
How do you know that? Could you build your own proggie which outputs it's arguments, rename it to javac.exe, put it in the right place and see what it's getting?
BTW, does any of paths/file names that you pass to javac contain ' ' ?(space symbol)?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic