Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Clifford Chapman   on Sep 13 In Java Category.

  
Question Answered By: Hu Chalthoum    on Sep 13

First of all, Im sorry tht i hv thought u r asking how to
change the Output/Error streams to a JList while Runtime. But
actually u hv asked how to get the output of "javac" command. I hope
from next time i will understand the question 100% before replying...

To Yin Ming, I hv tried ur syntax to get the msgs of "javac"
command, but the problem is both the outputs of compiler/error msgs
are redirected to the second file  only, im not getting anything in
the first file.

For ex. if im using deprecated method & im using

javac -deprecation Classes.java >Compile.txt 2>Error.txt

still the output goes only to "Error.txt" only, im not getting the
compiler output to the first file "Compile.txt".

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Creating a List file during compilation Or get search suggestion and latest updates.


Tagged: