java

  1. Windows 7 Reverse a linked list in Java

    Hi everyone, I am trying to reverse a linked list in Java. I have been following the tutorial on how to reverse a linked list, but I am having trouble understanding the recursive approach. Can anyone help me understand how to reverse a linked list using recursion in Java? Here is the code that...
  2. Java: Issue with Converting String to Integer

    I'm currently working on a Java program and encountering an issue while trying to convert a string to an integer. Despite using the appropriate parsing method, the conversion doesn't seem to work as expected. Here's a simplified version of my code: public class StringToIntConversion {...
  3. M

    Android Scala literal identifiers require explanation (backticks)

    I was reading Programming in Scala 2nd Edition when I came across this: I'm not sure why I'd want to utilize this. In this article, I've read provided an example of how to access the static yield function in Java's Thread class. So, because yield is a reserved term in Scala, if I use yield with...
  4. M

    Java equals() selection

    In Java, if I try to do.equals() on a null string, a null pointer error is issued. I’m wondering whether I can perform the following if I’m attempting to compare if a string is equal to a constant string: MY CONSTANT STRING.equals(aStringVariable) I’m sure it’ll work, but is this simply...
  5. D

    Windows 10 Limit Memory Map files RAM usage?

    Is there any way to limit the maximum RAM that memory maps can use in Windows (for the whole os or a particular process (Elasticsearch)) so that we can keep a java application from being paged out due to lack of memory causing large garbage collection pauses?
  6. Minecraft kicks off Community Celebration with free content

    Mojang Studios is ending the year by celebrating the Minecraft community in weekly free giveaways. Link Removed players can look for free content made by community creators for both Bedrock and Java editions of the game, with new character creator items and maps over the course of four weeks...
  7. H

    Windows 8 Unexplainable obstacles Im facing with my Windows...

    Some basic info first.. Windows 8.1 Core (N) version 6.3.9600 Build 9600 This is a new Windows installation.. And I have to add Ive experianced similar problems with a W10 system like a year ago, but i dismissed it because i just thought I had little knowledge of W10 and that I was just...
  8. AA20-195A: Critical Vulnerability in SAP NetWeaver AS Java

    Original release date: July 13, 2020 Summary On July 13, 2020 EST, SAP released a Link Removed to address a critical vulnerability, Link Removed, affecting the SAP NetWeaver Application Server (AS) Java component LM Configuration Wizard. An unauthenticated attacker can exploit this...
  9. Windows 10 Can't install java after reinstalling Windows 10.

    I tried every type of java installer - offline (both x32 and x64) and online. It doesn't work and I don't know why. I just install the installer, run it adn nothing happens - no error, no problem just nothing and I don't have any java installed on my PC yet. I tried to run it with administrator...
  10. G

    Check Java version from Command Line

    I have a Java installation and I have only access via bash. How can I check the Java version from command line.
  11. W

    Windows 10 Trojan w32/Tiggre!plock locked up temp files

    Hi, Sorry I cant seem to find a thread regarding malware.Just needed to get the prob solved as i have work files and software on my laptop,so am posting here intead.thank you Windows defender picked up the trojan named w32/Tiggre!plock,after i scanned the laptop as it was running extremely...
  12. Windows 10 Jar files wont open

    As the title says. I've tried reinstalling java and updating windows but they didnt work, All .jars simply wont open.
  13. Windows 7 Pcap - Capture/Sniff HTTP Packet

    Hello, I am working on a Java application that uses Pcap4J and Npcap to monitor network activity on a Windows computer (it's mainly intended to monitor browser activity, but I like the idea of using Pcap to expand it to all network activity). Ultimately, it is going to be a network...
  14. H

    Windows 10 Green screen when playing videos

    I was not sure where to post this, but I have tried all the methods that I have been able to find online to fix this issue to no avail. I am able to watch videos in my browser because Chrome allowed me to disable hardware acceleration, but I cannot watch videos through the Twitch app or videos...
  15. No 32-bit version for JDK 10

    I need the 32-bit version of Java Development Kit SE 10 (JDK SE 10), but oracle just shows the 64-bit version.
  16. Windows 7 UAC Prompt for Jars

    Is it possible to show a UAC prompt for a Java jar file? I am aware that one can edit an executable's manifest to require an elevated process, but there seems to be no way to do so with a Jar file. I do not want to edit javaw.exe's manifest. Is there a specific file that that can take file...
  17. C

    Windows 10 Did reboot by it self, can't find the reason.

    Hi, Today when I did wake up I did hear my HPe Microserver gen8 reboot by it self, the machine have never done this before. It currently running Windows Server 2016 Standard but as it's "almoste" the same as Windows 10 I do post here. I have looked in %SystemRoot%\ after some dump file but I...
  18. Porn Detector API?

    Does anyone know of a Java API that opens a given image URL and checks whether or not it is pornographic? I am building a chat bot that will filter out porn from messages and need a method for detection...
  19. Windows 7 How can I define which of the available JAVA Versions IE11 should use?

    Hello, for particular technical visualization needs (IniNet's Link Removed) a commonly used software is "Browser + Java". Mozilla stopped support of NPAPI plugins. The JAVA Plugin is such a NPAPI plugin, and so some users (my customers) think about using the Internet Explorer for their needs...
  20. A

    Memory consumption of javaw.exe changing significantly

    Dear all I’m using ArcGIS server, I decided to monitor javaw.exe and I found that memory consumption changed significantly some times its about 5,000,000 k and other times I found it 10,000,000k What is the source of this significant change? and what is the effect of this on the performance of...