Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Jar-File erstellen!

Empfohlene Antworten

...und noch eine Frage. Ich gebe in der MS-DOS Eingabeaufforderung den Befehl:

jar cfm Dateiname.jar *.txt *.class *.properties

ein. Es wird aber kein JarFile erzeugt. Vielmehr kommt die Fehlermeldung: Kann die angegebene Datei nicht finden!

Das File liegt bei mir unter C:\JBuilder4!

willst du denn auch ein manifest einbinden oder wie?

ich mache es so

jar -cmf manifest JARFILE.jar *.class ......

geht eigentlich schon.

vielleicht hilft es dir ja

ehre

forrester

<FONT COLOR="#a62a2a" SIZE="1">[ 26. September 2001 09:54: Beitrag 1 mal editiert, zuletzt von Forrester ]</font>

  • 10 Monate später...

Hallo, ich wollte mir ein eigenes Jar Archiv erstellen (jar -cvf Sim.jar *.class) dazu hatte ich alle benötigten Class-Dateien rausgesucht (immerhin 92 Stück...) und hab das Kommando ausgeführt. Vorher ging mein Programm und jetzt bekomme ich diesen Fehler

SimTest.java:140: cannot access CardID

bad class file: C:\PRG\OpenCard\OCF1.2\lib\Sim.jar(CardID.class)

class file contains wrong class: opencard.core.terminal.CardID

Please remove or make sure it appears in the correct subdirectory of the classpath.

public static void printCardID (CardID cardID)

^

Aber die CardID.class ist ebenso wie alle darin enthaltenen Import Class-DAteien eingebunden....

Oder heißt der fehler was anders ?`?

Danke für Euer Bemühen....Daniel

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.