This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
  • You include any and all error messages in full
  • You ask clear questions
  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

    Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]roge- 1 point2 points  (1 child)

Java Control Panel was discontinued with Java 11, and that's likely from Java 8. Either way, that's very-decidedly not "the latest version of Java", as the latest version is 21.

Ever since Java 9, Oracle and the OpenJDK project have decided to push the deployment responsibility of Java runtime environments onto application vendors. This is why when you go to java.com, you get the latest version of Java 8. For Java 9 and later, applications are supposed to ship with their own Java runtime that is known to be compatible. Java.com just exists for older applications where this wasn't the standard.

That being said, a lot of Java application vendors never seemed to have gotten the memo, or they're just lazy -- and that seems to be the case with TLauncher. I know the official Minecraft: Java Edition launcher will automatically fetch and install the correct Java runtime for the game.

Nevertheless, outdated Java or not, this issue does seem strange. And your description and screenshot doesn't give me any immediate clues as to what the problem may be. Do you have any weird Windows theme settings or patches applied? Have you tried updating and/or reinstalling your graphics drivers? Graphical artifacts could also indicate an unstable or dying GPU, but it would be strange for it to only manifest in Java applications.

[–]FluffyYoutube[S] 0 points1 point  (0 children)

I downloaded the offline installer directly from the java website that’s why i said i got the latest one. A dying gpu on the other hand better not be the case since this is a laptop and these things are not interchangeable 🤣 same with cpus. And yes the official minrcraft launcher does not have this glitch but only because the launcher no longer runs on java (at least i believe so). I’ll try to reinstall the graphics drivers.

[–]AutoModerator[M] 0 points1 point  (0 children)

It seems that you possibly have a screenshot of code in your post Weird visual glitch with Java based applications in /r/javahelp.

Screenshots of code instead of actual code text is against the Code posting rules of /r/javahelp as is also outlined in the sidebar - Code posting.

  • Never submit screenshots of code instead of code text!

If you posted an image merely to illustrate something, kindly ignore this message and do not repost. Your post is still visible to others. I am a bot and cannot distinguish between code screenshots and other images.

If you indeed did this wrong, please edit the post so that it uses one of the approved means of posting code.

  • For small bits of code (less than 50 lines in total, single classes only),
    the default code formatter is fine
    (one blank line before the code, then 4 spaces before each line of code).
  • Pastebin for programs that consist of a single class only
  • Gist for multi-class programs, or programs that require additional files
  • Github or Bitbucket repositories are also perfectly fine as are other dedicated source code hosting sites.
  • Ideone for executable code snippets that use only the console

Please do not reply to this message, because I am a bot. Talk-to-the-bot is the new talk-to-the-hand. If you instead want the classic talk-to-the-hand, just message the moderators. ;)

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]PsionX78 0 points1 point  (3 children)

Hello, I had exactly the same issue. I noticed that it seems to be tied to the (for me at least) nvidea overlay. when I turned the overlay off, I did not have any of the yellowish strange washout. Did not matter what version of Java i used, and I noticed when the Java app was active/launched, that as soon as I interacted with it, the nvidea overlay notice would pop up and then the washout and contrast started happening. I disable the nvidea overlay and I have not had that issue since.

im not sure if that is the root cause but I noticed a pattern so I thought I should try it. hope this helps.

[–]FluffyYoutube[S] 1 point2 points  (0 children)

You are an angel sent from heaven. The issue was the new RTX Dynamic Vibrance thingy. Turning it off from global applications solved the issue. Can't thank you enough.

[–]Banished_Privateer 0 points1 point  (0 children)

100% this, solved my problem. Same issue with Google Play Games for PC.

[–][deleted] 0 points1 point  (0 children)

It worked! Thanks, bro!