• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing Default Compiler in Eclipse

 
Fidel Edwards
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Members,

I want to change the default compiler from javac to vbjc in Eclipse Europa.I dig it in internet but failed to find any .Please help me .I am desperately looking to solve this problem.

I also want to change the run command from 'java' to
vbj -DSVCnameroot=Test com.xxx.xx.ClassName.

Thanks in advance !
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15480
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eclipse does not use javac (the Java compiler from the JDK). It has its own built-in compiler (based on IBM's jikes). As far as I know, it is not possible to change this in Eclipse.

Ofcourse you can use for example an Ant build script to compile your code, and use the Ant script from Eclipse.
 
Fidel Edwards
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jesper Young:
Eclipse does not use javac (the Java compiler from the JDK). It has its own built-in compiler (based on IBM's jikes). As far as I know, it is not possible to change this in Eclipse.

Ofcourse you can use for example an Ant build script to compile your code, and use the Ant script from Eclipse.


Thanks Jasper!! for early reply but i am not getting it that how can i compile my java files from vbjc *.java rather than javac *.java in ant .

Please help !!
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15480
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at the Ant manual. You could use the 'apply' or 'exec' task to call vbjc (by the way, I don't know what vbjc is and how it works).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic