Visualizzazione dei risultati da 1 a 7 su 7

Discussione: problema classpath

  1. #1

    problema classpath

    ciao a tutti,
    ho un problema con la programmazione java, infatti devo utilizzare un package che non è presente in java e non riesco ad inserire questo package nel classpath.
    Nella shell inserendo la stringa CLASSPATH = .;/home/utente/mylib; mi da errorre " comand CLASSPATH not found".
    Chi mi da una mano??
    uso linux ubuntu.

  2. #2
    up

  3. #3
    usa

    export CLASSPATH=.;/home/utente/mylib;

    Giulio
    http://www.wikijava.org

  4. #4
    non funziona mi dice : mylibe è una directory

  5. #5
    Utente di HTML.it L'avatar di Pastore12
    Registrato dal
    Oct 2008
    Messaggi
    1,051
    "Ethics are to me something private. Whenever you use it as an argument for why somebody_else should do something, you’re no longer being ethical, you’re just being a sanctimonious dick-head"
    Linus Torvalds

  6. #6
    niente da fare

  7. #7
    Utente di HTML.it L'avatar di Pastore12
    Registrato dal
    Oct 2008
    Messaggi
    1,051
    Puoi sempre invocare java e javac con le opzioni sulla classpath:

    http://java.sun.com/javase/6/docs/te...ows/javac.html
    http://java.sun.com/javase/6/docs/te...dows/java.html

    e puoi anche creare un file di batch per compilare e lanciare il tuo file specifico.

    Questo non può fallire!
    "Ethics are to me something private. Whenever you use it as an argument for why somebody_else should do something, you’re no longer being ethical, you’re just being a sanctimonious dick-head"
    Linus Torvalds

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.