Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frostwire doesn't find java #28547

Closed
turion opened this issue Aug 24, 2017 · 0 comments
Closed

frostwire doesn't find java #28547

turion opened this issue Aug 24, 2017 · 0 comments

Comments

@turion
Copy link
Contributor

turion commented Aug 24, 2017

I've installed frostwire, but when I run it, I get the following error:

HOSTNAME IS nixosEnigmage
Starting FrostWire...
Java exec not found in PATH, starting auto-search...
ls: Zugriff auf '/usr/lib/j*' nicht möglich: No such file or directory
OOPS, unable to locate java exec in  /usr/lib/  hierarchy
You need to upgrade to JRE 1.7.x or newer from http://www.java.com
ls: Zugriff auf '/usr/java/j*' nicht möglich: No such file or directory
OOPS, unable to locate java exec in  /usr/java/  hierarchy
You need to upgrade to JRE 1.7.x or newer from http://www.java.com
ls: Zugriff auf '/opt/j*' nicht möglich: No such file or directory
OOPS, unable to locate java exec in  /opt/  hierarchy
You need to upgrade to JRE 1.7.x or newer from http://www.java.com
  • System: 17.03.1694.81628ce54f (Gorilla)
  • Nix version: nix-env (Nix) 1.11.13
  • Nixpkgs version: 17.03.1694.81628ce54f
  • Sandboxing not enabled
cat /etc/nixos/configuration.nix 
# Edit this configuration file to define what should be installed on
# your system.  Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).

{ config, pkgs, ... }:

{
  imports =
    [ # Include the results of the hardware scan.
      ./hardware-configuration.nix
    ];

  # Use the GRUB 2 boot loader.
  boot.loader.grub.enable = true;
  boot.loader.grub.version = 2;
  # boot.loader.grub.efiSupport = true;
  # boot.loader.grub.efiInstallAsRemovable = true;
  # boot.loader.efi.efiSysMountPoint = "/boot/efi";
  # Define on which hard drive you want to install Grub.
  boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only

  boot.kernelPackages = pkgs.linuxPackages_3_10; # For the cpufreq issue
  security.chromiumSuidSandbox.enable = true; # chromium needs that for older kernels

  fileSystems = [
        { mountPoint = "/home/";
          device = "/dev/disk/by-uuid/4fd96430-09a0-4aba-90cb-60a4c00e6e38";
        }
        { mountPoint = "/";
          device = "/dev/disk/by-uuid/83fe4113-8b05-44be-b0ae-f96ba63567f9";
        }
  ];

  hardware.pulseaudio.enable = true;

  networking.hostName = "nixosEnigmage"; # Define your hostname.
  networking.enableB43Firmware = true;
  nixpkgs.config.allowUnfree = true; # B43Firmware is unfree

  networking.networkmanager.enable = true; # TODO Test whether we can remove this now

  # Select internationalisation properties.
  i18n = {
    consoleFont = "Lat2-Terminus16";
    consoleKeyMap = "neo";
    defaultLocale = "de_DE.UTF-8";
  };

  # Set your time zone.
  time.timeZone = "Europe/Vienna";

  programs.bash.enableCompletion = true;

  # List packages installed in system profile. To search by name, run:
  # $ nix-env -qaP | grep wget
  environment.systemPackages = with pkgs; [
    vim
    wget
    git
    w3m
    wgetpaste
    atom
    firefox
    thunderbird
    pidgin
    htop
    midori
    chromium
    sylpheed
    okular
    xsel
    xclip
    owncloud-client
    gnupg
    dmenu
    texlive.combined.scheme-full
    texstudio
    kdeFrameworks.kinit # See whether then okular can save files (and report as a bug maybe?)
    plasma-workspace
    ghc
    gparted
    ecryptfs
    ecryptfs-helper
    xorg.xmodmap
    lsof
    pinentry_qt5
    krusader
    gwenview
    calligra
    haskellPackages.idris
    haskellPackages.ghc-mod
    haskellPackages.free
    libreoffice
    slock
    gnugo
    tortoisehg
    git-cola
    konsole
    gutenprint # vielleicht geht damit Martinas Drucker?
    gutenprintBin
    sane-backends
    sane-frontends
    xsane
    gimp
    imapsync
    p7zip
    vlc
    python35Packages.pygments
    ardour
    audacity
    pavucontrol
    jack2Full
    cabal-install
    krusader
    frostwire
  ];


  # List services that you want to enable:

  # Enable the OpenSSH daemon.
  # services.openssh.enable = true;

  # Open ports in the firewall.
  # networking.firewall.allowedTCPPorts = [ ... ];
  # networking.firewall.allowedUDPPorts = [ ... ];
  # Or disable the firewall altogether.
  # networking.firewall.enable = false;

  # Enable CUPS to print documents.
  services.printing.enable = true;
  services.xserver = {
  # Enable the X11 windowing system.
    enable = true;
    layout = "de";
    xkbVariant = "neo";
  # services.xserver.xkbOptions = "eurosign:e";

    windowManager = {
      xmonad.enable = true;
      default = "xmonad";
    };
    synaptics = {
      enable = true;
      accelFactor = "0.01";
      maxSpeed = "3.0";
    };
  };

  # Enable the KDE Desktop Environment.
  # services.xserver.displayManager.sddm.enable = true;
  # services.xserver.desktopManager.plasma5.enable = true; # TODO not sufficient

  security.pam.enableEcryptfs = true;

  # Define a user account. Don't forget to set a password with ‘passwd’.
  users.extraUsers.turion = {
    isNormalUser = true;
    uid = 1000;
    extraGroups = [ "networkmanager" ];
  };

  # The NixOS release to be compatible with for stateful data such as databases.
  system.stateVersion = "17.03";

}
Mic92 added a commit that referenced this issue Aug 27, 2017
fixes #28547

(cherry picked from commit 9d74fd3)
@Mic92 Mic92 closed this as completed in 9d74fd3 Aug 27, 2017
adrianpk added a commit to adrianpk/nixpkgs that referenced this issue May 31, 2024
fixes NixOS#28547

(cherry picked from commit 9d74fd3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant