• 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

Changing Default Compiler in Eclipse

 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic