• 0
NebelC0meback

Linux: After install and creation of technic directory, the launcher wont start again.

Question

 

Hello people of the Technic community, I've had this problem for around 3 weeks now, and after countless hours of research i couldn't get it to work.

I've got the following problem:

I've been using Ubuntu (PoPOS) for around 2 months now, and i got really familiar with it. I got minecraft from the repositories no problem whatsoever. But as i wanted to play with mods, My old friend Technic Launcher came to my mind again, so i tried to install it and play some modpacks.

Problem:

I've installed the correct java version (OpenJDK 8 ) and put the techniclauncher.jar as an executable. Now when i run the launcher, the installation screen pops up, everything normal. Now when i install it as a portable or just normally, it creates the directory and the installer dissapears. Everything ok until now: When i try to launch Technic again, it just crashes. The java process is running, but starts dissapearing. So i tried again with oracle Java 11. Same problem. It just crashes. When i launch it over Terminal, it gives me this:

 

[email protected]:/home/muenzlpsaveyourinternet# java -jar '/home/directory/TechnicLauncher.jar' '/home/directory/TechnicLauncher.jar'
Settings for exe: /home/directory/TechnicLauncher.jar
Portable settings dir: /home/directory/technic
Setting up logging

And nothing else happens, the terminal doesnt continue launching, same with launching without terminal.Nothing opens , just the process i can see in my system manager

I tried and tried, i uninstalled the runtimes, 8 and 11, tried and tried but nothing worked. I found no answer, now after 2 weeks of trying, I decided to post this here to get some answers from nice people who like to help in the community.

If you like to help me, just post solutions or suggestions in the section down, please stay simple with ubuntu stuff since i am really new to linux and just getting started. Thanks for any response.

(replaced my install directory with directory because its pretty much useless for help and might confuse people)

 

Edited by NebelC0meback

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I understand it's been a few months since this question was asked, but this is where Google took me so I might as well post here.

I'd been having the exact same issue as well. I thought it might've been because I was using OpenJDK since I've had issues with that kind of thing before, so I switched to the Oracle JRE. That didn't solve my problem, but it did give me some more descriptive error messages:

$ java -jar TechnicLauncher.jar
Settings for exe: /home/tom/Downloads/TechnicLauncher.jar
Portable settings dir: /home/tom/Downloads/technic
Exception in thread "main" java.awt.HeadlessException
	at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
	at java.awt.Window.<init>(Window.java:536)
	at java.awt.Frame.<init>(Frame.java:420)
	at java.awt.Frame.<init>(Frame.java:385)
	at javax.swing.JFrame.<init>(JFrame.java:189)
	at net.technicpack.ui.controls.DraggableFrame.<init>(DraggableFrame.java:32)
	at net.technicpack.launcher.ui.InstallerFrame.<init>(InstallerFrame.java:79)
	at net.technicpack.launcher.LauncherMain.main(LauncherMain.java:170)

I did some googling with the HeadlessException and came across this StackOverflow question that had a comment suggesting to set the AWT headless flag: "-Djava.awt.headless=false"

It didn't work with the Oracle JRE, but after switching back to the OpenJDK JRE everything worked flawlessly, so I've added that parameter to my desktop file.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • By deathplayer43
      every time i try to open the game it closes the game and technic pops back up please help 
      ---- Minecraft Crash Report ----
      // Surprise! Haha. Well, this is awkward.
      Time: 2/10/20 12:25 PM
      Description: Initializing game
      org.lwjgl.LWJGLException: Pixel format not accelerated
          at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)
          at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)
          at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:247)
          at org.lwjgl.opengl.Display.createWindow(Display.java:306)
          at org.lwjgl.opengl.Display.create(Display.java:848)
          at org.lwjgl.opengl.Display.create(Display.java:757)
          at org.lwjgl.opengl.Display.create(Display.java:739)
          at bib.at(SourceFile:635)
          at bib.aq(SourceFile:458)
          at bib.a(SourceFile:404)
          at net.minecraft.client.main.Main.main(SourceFile:123)

      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      -- Head --
      Thread: Client thread
      Stacktrace:
          at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)
          at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)
          at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:247)
          at org.lwjgl.opengl.Display.createWindow(Display.java:306)
          at org.lwjgl.opengl.Display.create(Display.java:848)
          at org.lwjgl.opengl.Display.create(Display.java:757)
          at org.lwjgl.opengl.Display.create(Display.java:739)
          at bib.at(SourceFile:635)
          at bib.aq(SourceFile:458)
      -- Initialization --
      Details:
      Stacktrace:
          at bib.a(SourceFile:404)
          at net.minecraft.client.main.Main.main(SourceFile:123)
      -- System Details --
      Details:
          Minecraft Version: 1.12.2
          Operating System: Windows Vista (amd64) version 6.0
          Java Version: 1.8.0_25, Oracle Corporation
          Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
          Memory: 5279610144 bytes (5035 MB) / 5368709120 bytes (5120 MB) up to 5368709120 bytes (5120 MB)
          JVM Flags: 5 total; -Xms5120m -Xmx5120m -XX:+UseG1GC -XX:MaxGCPauseMillis=4 -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
          IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
          Launched Version: 1.12.2
          LWJGL: 2.9.4
          OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
          GL Caps: 
          Using VBOs: Yes
          Is Modded: Probably not. Jar signature remains and client brand is untouched.
          Type: Client (map_client.txt)
          Resource Packs: 
          Current Language: ~~ERROR~~ NullPointerException: null
          Profiler Position: N/A (disabled)
          CPU: <unknown>
    • By stringybean
      I have recently updated to macOs Catalina, and i wanted to reinstall technic launcher to play with my friends. I already have java installed, but when i open the .jar file, it pops up on my dock and disappears twice. When i check the logs there is usually one log for each time i open it, along with nothing in the surrounding folders. I have tried to 'reinstall' technic multiple times.
      techniclauncher_2020-02-06.log
    • By kmecpp
      Modpack Link: https://www.technicpack.net/modpack/volts-community-modpack.1226798
       
      The Voltz Community Modpack is an unofficial update to the Voltz modpack on the Technic Launcher and is the first update to feature EVERY SINGLE ONE of the original core mods. Currently there is one official server run by VoidFlame Network but we are looking into getting more servers to run the modpack!
       
      Official Server Highlights:
      100+ Custom Recipes Every single dupe bug patched Never before seen ICBM + MFFS integration. Force fields fully protect your base from intruders unless your enemies can overwhelm your field with a barrage of missiles. Dozens of performance patches. We run ~2x faster than a normal modded server. BungeeCord setup: Raiding, Hardcore, Towny and Creative servers Factions, Economy, Player Shops, Crates, Mines and more! Sophisticated anti cheat system
       
      Modpack Highlights:
      Every single one of the original Voltz mods Consistently within the 50 most popular modpacks on Technic Completely custom MFFS and Atomic Science that was designed to simulate the experience of classic Voltz. Dozens of completely custom performance patches, crash fixes and game play improvements designed specifically for this modpack Loads of more contents like Extra Utilities, ExtraPlanet, Thermal Expansion, Open Blocks, Iron Chests and more!  
      Download Modpack: https://www.technicpack.net/modpack/volts-community-modpack.1226798
       
      Please considering trying us out so we can bring Voltz back with an active community!
       
      Official server website: https://www.voidflame.com
      Come chat with us on Discord: https://discord.gg/rQZAKDk

    • By Lord_Ahegao
      So, I'm trying to download Technic Launcher, everything went smoothly up until the point I actually downloaded it.. I went to the "Discover" tab only to see it completely blank, all of it was white except the top and bottom boarders of the launcher, my profile picture also won't load if that gives any more insight into my problem.

      Mind helping, anyone?
      https://justpaste.it/2awey