Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8264447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:27:38+00:00 2026-06-08T04:27:38+00:00

I want to enable OpenGL pipeline for Java program I’m working on (command line

  • 0

I want to enable OpenGL pipeline for Java program I’m working on (command line
-Dsun.java2d.opengl=True). I will have quite a lot calls to 2d drawing APIs in it so it seems sensible.

However, even when Java reports “OpenGL pipeline enabled for default config on screen 0” I can’t see enything on screen. What I mean is that the program starts, I see the Java comment on OpenGL but the window is empty.

When I start the same program without any command line -D additions, everything is as expected, all the content gets rendered properly.

Where should I look for solution?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T04:27:40+00:00Added an answer on June 8, 2026 at 4:27 am

    I suggest using an API made specifically to enable OpenGL integration with Java.

    Not only it will get rid of most (case not “all”) difficulty of integration, it will likely make the implementation much easier as well.

    I am working with the LWJGL (Light Weight Java Game Library) for a game project. Tough it is made for game-development, it’s focus is mainly enabling OpenGL, and actual game-frameworking is done with other, inheriting APIs, like Slick2D.

    I am liking it very much and it made my OpenGL development a LOT easier. You can try it. Otherwise, there are some other OpenGL-focused APIs out there that contain yet even less non-OpenGL code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to enable optimization in g++ without command line parameter. I know GCC
In my OpenGL program I want to render everything in memory. I don't want
I want to implement a paint-like application, which will enable kids to create and
I want globally enable whitespace-mode. I have tried this in my .emacs: (require 'whitespace)
I'm working on a OpenGL project and I want at least a little lighting
I want to enable NSZombies for my iPhone app. I have read several articles
I want to enable data cache. I dont have much experience with ARM as
We want to enable direct streaming of our payload in webservice endpoints. We have
In my C++ graphics application using OpenGL and GLUT, I want to enable depth
I want to enable the user to log in on a http page with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.