Commits

Philip Jenvey  committed 65e4bc5

invoke java in headless mode so it's less annoying on osx

  • Participants
  • Parent commits bf51177

Comments (0)

Files changed (1)

File pypy/translator/jvm/genjvm.py

         """
         jascmd = [
             getoption('java'),
+            '-Djava.awt.headless=true',
             '-jar', str(self.jasminjar),
             '-g',
             '-d',
         strargs = [self._make_str(a) for a in args]
         cmd = [getoption('java'),
                '-Xmx256M', # increase the heapsize so the microbenchmarks run
+               '-Djava.awt.headless=true',
                '-cp',
                str(self.javadir)+os.pathsep+str(self.jnajar),
                self.package+".Main"] + strargs