Java

Forum discussion tagged with Java.
  1. A

    Question Java Problems

    So I have a problem with Java, it's not on my system for some reason. when I tried to install "jre-8u371-windows-x64.exe" from the java site, it won't even install, when I click it to install I get the timer circle, but nothing else. What could have happened? I tried a search for Java on the C...
  2. H

    Question What is a unique code? How to create it?

    Hello everyone, I have asked this question several times on the forum. But I can't quite figure it out. Are there tools that help you create one unique code for multiple applications?
  3. H

    Question I can't find an error in the Java code

    I wrote the source code for a new application on IOS, when writing there were no errors, but when I ran the code, an error appeared in this place: var t = readLine()! var s = readLine()! var len_s = s.count var t_lis = Set(t) var c_s = Counter(s) var c_t = Counter(t_lis[len_s]) var c_res =...
  4. H

    [SOLVED] How to check the code for errors so the app will work properly ?

    I wrote the program code, but when the application starts, this part is not displayed (code below). Finding and correcting errors takes a lot of time, which can be applied more efficiently. How do you fix bugs in your code? Are there special tools? package com.TSP; import java.io.IOException...
  5. Donuts69

    Question How do you write a program to print the Fibonacci series 0, 1,1,2,3,5,8…n?

    Here is a java solution that I got from Scaler for printing the Fibonacci series. But still doubtful. import java.io.*; import java.util.*; public class Main { //Recursive function to print the fibonacci series static int fib(int n) { int res; if(n <= 1) return n; else { res=fib(n -...
  6. jackyboyrocs

    [SOLVED] Java installation issue

    so I'm trying to install java so i can install a specific mod for Minecraft and I'm getting an odd error I've never seen before. Tried fixing it with the help of google but that got me nowhere. Not only that but if i try to install it again it tells me that an installation is already in...
  7. santasendskidstothegulag

    Question Minecraft Optifine doesn't work ?

    I tried to instal optifine onto my minecraft and when it didnt work i tried the new 8u311 java then went to my laptop where optifine works and tried the version of java it was running. Updated all my drivers, re-updated java, reinstalled mc, copied the entire game onto a usb and reinstalled it...
  8. CleanGamez

    [SOLVED] i opened ports and portfowarded and my friends still cant join my Minecraft server

    i opened ports and portfowarded and my friends still cant join my Minecraft server. Im hosting on my local machine my friend were be able to join before but now they cant anymore. i have made tcp, udp inboud, outbound rules in firewall, portfowarded trough my 2 routers. HELP
  9. E

    [SOLVED] Java files will not open ?

    I'm trying to get minecraft mods again, and I just reinstalled Java, to install forge. But every time I try to run forge, nothing happens. I tried making sure the "open with" path is correct, tried running it through command prompt, making a .bat, using jarfix, nothing has worked. Any ideas?
  10. artavasdes

    Question Forge jar is not launching

    I have never encountered this problem before where when I double click on the forge jar, nothing pops up to decide whether I want to download for client or server. The only thing it does is create a log file with errors in it. It only runs when I disconnect from my internet and once it finishes...
  11. P

    [SOLVED] Minecraft Optifine Won't Install

    Hi, this is Isaac, I'm having issues with installing optifine, (Minecraft java edition is already installed). I Installed WinRAR, and Java because to install optifine you need to have java. So I downloaded optifine, and it was in a RAR file when it should have been a java/.jar file. So I...
  12. nexan

    [SOLVED] IJava doesn't open jar files

    I wanted to open a jar-file(on windows 10)(to install Optifine for minecraft), and for that I installed JRE. But when I want to open the jar-file the app (java) isn,t in the list where you can choose with wich app you want to open it, so I can,t open it. It always opens with Internet Explorer...
  13. garlicc juice

    Question Java installer wont do anything at all, entering a game setup pops up an error.

    First day of using my new computer, didn't expect that there will be any problems, i don't really understand why many apps won't even start installation. I tried to install java and after running the installer as administrator nothing happens at all, doesn't even appear in task manager...
  14. ITPMJE

    Question Optimizing Minecraft And Java Not Utilizing CPU or GPU

    Okay... So... I can run 300+ frames in vanilla minecraft Java. I can run RLCraft with Sildurs shaders getting about 80/27 according to optifine with my render distance at 10 chunks. So... why does my CPU never use more that 50%? Specs: 9th Gen Intel I7-9750H 12MB Cache Nvidia Geforce GTX 1660...
  15. U

    Question java doesnt work

    "Error: Could not create the Java Virtual Machine." "Error: A fatal exception has occured. Program will exit" re-installing java / changing environment variables did nothing please help
  16. P

    Question Java Minecraft Server PC Build

    Hey all! My father and I are creating a business for local Minecraft server hosting. I need a PCPartPicker or similar list so we can purchase the parts. The server will be running 24/7. Some things to consider: The build should be in the neighborhood of 350-500 dollars. 16GB - 32GB would be...
  17. F

    Question .jar or any sort of java file will not open.

    I have been having this issue for a few days and i dont know what the problem is, because i havent had the problem until now. I have tried opening as Admin, or with a .bat with a command like java -jar xyz.jar and disabled antivruses. When i double click on the file, it shows the hourglass on...
  18. M

    [SOLVED] easy static javascript

    Hi there, i just started using chromes extension called 'fake data', and what it do is, generating random data for regestration on a certain web sites. it uses this javascript ...
  19. K

    Question Why can't I install Java?

    I have tried everything. I always get Error Code 2. I tried turning off the windows security. I tried turning off the windows firewall. I have tried the online version. I have tried the offline version. I tried different destinations. I even tried installing it on safe mode but then I got Error...
  20. A6TH

    [SOLVED] 'javac' is not recognized as an internal or external command

    After installing JDK on my Windows 10 machine, I can't seem to set it up so I can run javac and java commands directly from command prompt. I've tried setting environment variables, restarting PC, but it didn't work either. When I type the full path to javac.exe in command prompt and try to...
  21. D

    Question Java won't reinstall due to 'not being able to create a virtual machine'

    Whenever I try to reinstall java, the install is around 80% done when the error message "Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.", and this happens on all the versions of java I attempted to download, and it occurs on both 32...
  22. Y

    C++, Java or Python

    I’m going to study computer science and I want to learn how to code. I know I have to get familiar with C++, Java and Python but which one should I focus on more? Is one better then the others?
  23. Myronazz

    [SOLVED] Java Installer REFUSES to do anything at all

    Hello... Just formatted a friend's laptop and clean installed a fresh copy of Windows 10, the latest build downloaded from Microsoft's Website. I finished setting everything up, drivers, etc. And everything thus far has worked perfectly but for some reason I cannot seem to get Java working, we...
  24. M

    Question Unable to install Java

    Windows 10. When I attempt to install I always get the error 1603. I have used the online and offline version of the installer and ran as administrator to no luck. Any ideas? Thanks in advance.
  25. P

    [SOLVED] Is it possible to create OpenGL Applications from the ground up in OpenGL?

    I want to make some OpenGL applications in Java utilizing OpenGL. Is this possible?
  26. RaxTax

    Question JRE and JDK won't install.

    So I need JRE... Whenever I try to open the installer, I get asked for admin rights, I click "Yes" and then nothing happens... I tried with JDK because it contains JRE, but that didn't work too. This time the install wizard opens, but when I click "Next" it just closes and nothing happens...
  27. rebstg

    Question How do I open a jar file with Java(TM) platform SE binary?

    I have tried to download the latest version of java and that doesn't seem to work. I have even tried to see if the program is located in the programs folder, but it is no where to be found. What should I do?
  28. H

    Best laptop under 4000 USD

    I want to learn and master programming , hacking and PEN-TESTING . So I need a great laptop for it. Could you give me some suggestions for it?
  29. W

    Question Java won't show up as an option to open a .jar file

    I have Java installed, and I try to install a .jar file off of Chrome, but every time it installs, it uses Internet Explorer instead of Java. I try to associate .jar files with Java, but it only shows Internet Explorer as an option.
  30. J

    Question BSOD from opening jar files? Maybe?

    Okay so hopefully someone has some knowledge on this, i'm lost. A little background, i'm using a .jar file that is a MIPS/MARS simulator, it's like a little tool used to teach assembly language. I'd used it several other times, it definitely felt laggy and slow but no issues. I moved my PC to...
  31. H

    [SOLVED] Getting very frustrated with slow wifi on new PC only

    So I have done some digging through this forum for similar issues as mine and I cannot seem to resolve my problem. I built a $2,000 gaming PC about a month ago. The room which it is in is quite far from the extension router in my home so I made it a point to buy a motherboard that has built in...
  32. L

    Question can i put additional Gtx 1050ti oc edition to my pc

    I already have gtx1050ti oc editin what if I added another same gPU . Will it fit in? Does it have slot in it ? will it work? Z270M-D3H Motherboard 16gbram 1tbhdd 250gb ssd gtx1050ti oc 4GB Cabinet Circle
  33. N

    Question Memory upgrade black screen boot loop

    Hi guys! I tried installing new ram today 2x8 3200mhz and the pc after powering it on showed black screen and was boot looping. I tried reinstalling old stick of ram and the same thing happened. Be noted that the old stick of ram worked prior to upgrading. Can anybody please help me ?
  34. D

    Question AMD Vega 56 - Grafics Problem

    Hey Community, I have a grafics Problem with my AMD vega 56. I wandet to know what i am doing wrong, because on GTX grafis card it was better. I have tried many settings but i cant do it better. The white lines are not so good presented. Look at the Screenshots. Screenshot - from a Game...
  35. R

    GTX 780 kills brand new RX 580

    I recently bought an ASRock Phantom Gaming D RX 580 8 GB off Newegg to replace my GTX 780. Everything ran terribly. Ring of Elysium would crash in the lobby. Destiny 2 would give me like 20-30 frames and then crash with a broccoli error code. Far Cry 5 would play for a little on low settings but...
  36. D

    How do I swap these SSD and HDD drives?

    Alright so I've got 2 systems im working with. One is my current and going to someone else, the other is my "to be" after some upgrades and info copying. System 1 is Mobo:H55H-CM CPU: i7-860 GPU:AMD HD 5770 Storage:HDD - WD3200AAJS-65RYA0 300GB SSD - SSDSA2BW160G3H 150GB <--Has OS...
  37. K

    [SOLVED] Black screen on monitor, with green light.

    When i turn on my PC, pc boots but monitor is completely black, no picture, or anything. It doesn't even say no signal when i disconnect cables from my pc . But when there is black screen it has green light. Sometimes it works when I'm reconnecting monitor power cable and vga cable. I tried DVI...
  38. P

    HELP!! GTA 5 LAGG!!! On my gtx 960 2gb intel 5-6400 8 rams

    Hello i was playing gta 5 2 years ago and i been getting decent fps with no shuttering or lagg almost on ultra graphics. Now i only get 40fps on lowes graphics and over time when i m playing it gets worse and worse i think becouse it heats and also if i do graphics on ultra it is even more fps...
  39. A

    [SOLVED] Upgrading from Intel Core i3 370M to Intel Core i7 640M

    Dear all Master, My laptop is Toshiba Satellite L645 using Processor Intel(R) Core(TM) i3 CPU M370 @ 2.40GHz. I want to upgrade this processor to Intel Core i7 640M. The comparation between two processors are described in this link. Can I upgrading my processor. I also need your advice about...
  40. E

    [SOLVED] SSD Full. Any help?

    Hey! I have a 118gb ssd (weird ik) but anyways. It's completely full. I've moved some stuff to hdd but idk what to do now. All i want on the ssd is fortnite and windows os. what do i do?