Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7898995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:35:12+00:00 2026-06-03T08:35:12+00:00

I created a simple GUI Application with Swing in Scala, and the Run as

  • 0

I created a simple GUI Application with Swing in Scala, and the “Run as Scala Application” in Eclipse works well. I used SBT as build tool, and i created some class files for the application logic + an singleton object in a file with the same name as the object, which has the main() method to start the application.

As I said, simply starting from within eclipse works. But generating a JAR File not (export -> …). Is there a simple way to do this?

As I have the latest stable scala version, many tips from the internetz seems to be outdated. Even the last comment in this blog

http://garyboone.com/2009/06/creating-single-file-runnable-jars-in-scala-and-eclipse/?wscr=1280×1024

doesn’t work. I just want a standalone executable JAR File, which I can share with others without technical knowledge… Any Ideas?

EDIT: I solved the Problem finally. The Problem was that Eclipse shows the Scala Librarys on Build Path, but didn’t really export them. May be a Bug, i don’t know. Finally, I added scala-library.jar and scala-swing.jar directly to the build path as external jars, ignoring the fact that eclipse shows them as already included -> everything works.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T08:35:14+00:00Added an answer on June 3, 2026 at 8:35 am

    I found the Solution, see EDIT in the Question. I’ll play with the possible alternatives soon, but the eclipse related stuff now works for me. Maybe the guys from Scala IDE could have a look at the packaging of Scala Apps in Eclipse, there were still some hoops to jump through. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a Java beginner. I already created a simple GUI application that display will
Create a simple Qt4 Gui Application, surround the window construction and show commands in
I've created this simple GUI: from tkinter import * root = Tk() def grabText(event):
I have created a very simple GUI project in Qt as follows: main: #include
I have created a GUI for starting a Thread which does something very simple.
I am new to Repository concept and get some questions. I have created simple
I created a simple detail edit form earlier, and decided to data bind some
I need to create a simple windows based GUI for a desktop application that
Totally new to Kubuntu and KDevelop. I created a new No GUI(CMake) Simple CMake-based
I have to create a very simple GUI for an iPad application. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.